[MPlayer-cvslog] r33330 - trunk/gui/mplayer/gtk/opts.c
ib
subversion at mplayerhq.hu
Mon Apr 25 14:38:55 CEST 2011
Author: ib
Date: Mon Apr 25 14:38:55 2011
New Revision: 33330
Log:
Improve cache size spin button.
Set the value shown (start value) to the current cache size, set page
increment to 32 (kBytes) and set page size (which is irrelevant) to zero.
Modified:
trunk/gui/mplayer/gtk/opts.c
Modified: trunk/gui/mplayer/gtk/opts.c
==============================================================================
--- trunk/gui/mplayer/gtk/opts.c Mon Apr 25 14:24:05 2011 (r33329)
+++ trunk/gui/mplayer/gtk/opts.c Mon Apr 25 14:38:55 2011 (r33330)
@@ -1259,7 +1259,7 @@ GtkWidget * create_Preferences( void )
AddLabel( MSGTR_PREFERENCES_CacheSize,hbox5 );
- SBCacheadj=GTK_ADJUSTMENT( gtk_adjustment_new( 2048,32,1048576,1,10,10 ) );
+ SBCacheadj=GTK_ADJUSTMENT( gtk_adjustment_new( gtkCacheSize,32,1048576,1,32,0 ) );
SBCache=gtk_spin_button_new( GTK_ADJUSTMENT( SBCacheadj ),1,0 );
gtk_widget_show( SBCache );
gtk_box_pack_start( GTK_BOX( hbox5 ),SBCache,TRUE,TRUE,0 );
More information about the MPlayer-cvslog
mailing list