changeset 33941:8beec562ce0e

Remove dependency between gtkShowVideoWindow and gtkLoadFullscreen in preferences. Both preferences are concurrently permitted. This is missing in r34026.
author ib
date Wed, 31 Aug 2011 17:45:02 +0000
parents 5eae72fa20ff
children afede91f9d5f
files gui/ui/gtk/preferences.c
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/gtk/preferences.c	Wed Aug 31 09:04:21 2011 +0000
+++ b/gui/ui/gtk/preferences.c	Wed Aug 31 17:45:02 2011 +0000
@@ -722,18 +722,12 @@
 //	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: