[MPlayer-cvslog] r34029 - trunk/gui/ui/gtk/preferences.c
ib
subversion at mplayerhq.hu
Wed Aug 31 19:45:03 CEST 2011
Author: ib
Date: Wed Aug 31 19:45:02 2011
New Revision: 34029
Log:
Remove dependency between gtkShowVideoWindow and gtkLoadFullscreen
in preferences.
Both preferences are concurrently permitted.
This is missing in r34026.
Modified:
trunk/gui/ui/gtk/preferences.c
Modified: trunk/gui/ui/gtk/preferences.c
==============================================================================
--- trunk/gui/ui/gtk/preferences.c Wed Aug 31 11:04:21 2011 (r34028)
+++ trunk/gui/ui/gtk/preferences.c Wed Aug 31 19:45:02 2011 (r34029)
@@ -722,18 +722,12 @@ static void prToggled( GtkToggleButton *
// if ( guiInfo.Playing ) gtkMessageBox( GTK_MB_WARNING,"Please remember, this function need restart the playing." );
// break;
case 3:
- if ( gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBShowVideoWindow ) ) ) gtk_widget_set_sensitive( CBLoadFullscreen,TRUE );
- else
- {
- gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( CBLoadFullscreen ),0 );
- gtk_widget_set_sensitive( CBLoadFullscreen,FALSE );
- }
if ( gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON( CBShowVideoWindow ) ) )
{
window=wsShowWindow;
gtkActive( Preferences );
} else window=wsHideWindow;
-
+ // NOTE TO MYSELF: doesn't work with a fullscreen window
if ( !guiInfo.Playing ) wsVisibleWindow( &guiApp.subWindow,window );
break;
case 4:
More information about the MPlayer-cvslog
mailing list