diff gui/dialog/preferences.c @ 36822:95e3f435bc57

Enable setting full audio delay value range. The option allows a range of -100..100. Additionally, set the step increment (X11/GTK) resp. line size (Win32) to 0.1.
author ib
date Mon, 24 Feb 2014 10:31:09 +0000
parents 5ea757ca6270
children 836563c39dac
line wrap: on
line diff
--- a/gui/dialog/preferences.c	Sun Feb 23 20:43:09 2014 +0000
+++ b/gui/dialog/preferences.c	Mon Feb 24 10:31:09 2014 +0000
@@ -682,8 +682,8 @@
   hbox8=gtkAddHBox( vbox3,1 );
   gtkAddLabel( MSGTR_GUI_AudioDelay":",hbox8 );
 
-  HSAudioDelayadj=GTK_ADJUSTMENT( gtk_adjustment_new( 0,-10,10,0.01,0,0 ) );
-  HSAudioDelay=gtkAddHScale( HSAudioDelayadj,hbox8,2 );
+  HSAudioDelayadj=GTK_ADJUSTMENT( gtk_adjustment_new( 0,-100,100,0.1,0,0 ) );
+  HSAudioDelay=gtkAddHScale( HSAudioDelayadj,hbox8,1 );
   label=gtkAddLabel( MSGTR_GUI_Audio,NULL );
     gtk_notebook_set_tab_label( GTK_NOTEBOOK( notebook1 ),gtk_notebook_get_nth_page( GTK_NOTEBOOK( notebook1 ),0 ),label );