[Mplayer-cvslog] CVS: main/Gui/mplayer/gtk opts.c,1.48,1.49

Zoltan Ponekker pontscho at mplayerhq.hu
Sun Jan 19 22:24:43 CET 2003


Update of /cvsroot/mplayer/main/Gui/mplayer/gtk
In directory mail:/var/tmp.root/cvs-serv22720

Modified Files:
	opts.c 
Log Message:
show one ...

Index: opts.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/gtk/opts.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- opts.c	19 Jan 2003 18:28:16 -0000	1.48
+++ opts.c	19 Jan 2003 21:24:31 -0000	1.49
@@ -417,7 +417,14 @@
 
  gtk_widget_show( Preferences );
  gtkSetLayer( Preferences );
- gtkMessageBox( GTK_MB_WARNING,MSGTR_PREFERENCES_Message );
+ {
+  static int visible = 1;
+  if ( visible ) 
+   {
+    gtkMessageBox( GTK_MB_WARNING,MSGTR_PREFERENCES_Message );
+    visible=0;
+   }
+ }
 }
 
 void HidePreferences( void )
@@ -788,7 +795,7 @@
   hbox8=AddHBox( vbox3,1 );
   AddLabel( MSGTR_PREFERENCES_AudioDelay,hbox8 );
 
-  HSAudioDelayadj=GTK_ADJUSTMENT( gtk_adjustment_new( 0,-100,100,0.01,0,0 ) );
+  HSAudioDelayadj=GTK_ADJUSTMENT( gtk_adjustment_new( 0,-10,10,0.01,0,0 ) );
   HSAudioDelay=AddHScaler( HSAudioDelayadj,hbox8,2 );
   label=AddLabel( MSGTR_PREFERENCES_Audio,NULL );
     gtk_notebook_set_tab_label( GTK_NOTEBOOK( notebook1 ),gtk_notebook_get_nth_page( GTK_NOTEBOOK( notebook1 ),0 ),label );



More information about the MPlayer-cvslog mailing list