1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-01 23:00:41 +00:00
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9032 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2003-01-19 18:28:16 +00:00
parent 82f18ba0c4
commit c278e50066

View File

@ -13,6 +13,7 @@
#include "../../../libao2/audio_out.h"
#include "../../../libvo/video_out.h"
#include "../../app.h"
#include "../../cfg.h"
#include "../../interface.h"
#include "../widgets.h"
@ -331,10 +332,16 @@ void ShowPreferences( void )
// --- 6. page
gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBPostprocess ),gtkVopPP );
gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBLoadFullscreen ),gtkLoadFullscreen );
gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBPlayBar ),gtkEnablePlayBar );
gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBStopXScreenSaver ),stop_xscreensaver );
gtk_adjustment_set_value( HSPPQualityadj,auto_quality );
gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBPlayBar ),gtkEnablePlayBar );
if ( !appMPlayer.barIsPresent )
{
gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBPlayBar ),0 );
gtk_widget_set_sensitive( CBPlayBar,FALSE );
}
gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBCache ),0 );
gtk_adjustment_set_value( SBCacheadj,(float)gtkCacheSize );
if ( !gtkCacheOn ) gtk_widget_set_sensitive( SBCache,FALSE );