Mercurial > mplayer.hg
changeset 9031:e0908d0777fd
11l:)
author | pontscho |
---|---|
date | Sun, 19 Jan 2003 18:28:16 +0000 |
parents | d96539bebdd6 |
children | 369a77dea470 |
files | Gui/mplayer/gtk/opts.c |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Gui/mplayer/gtk/opts.c Sun Jan 19 18:25:21 2003 +0000 +++ b/Gui/mplayer/gtk/opts.c Sun Jan 19 18:28:16 2003 +0000 @@ -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 @@ // --- 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 );