gnome-terminal r2491 - trunk/src



Author: chpe
Date: Wed Mar 19 18:13:26 2008
New Revision: 2491
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2491&view=rev

Log:
Don't update the settings when the old screen == the new screen.


Modified:
   trunk/src/terminal-window.c

Modified: trunk/src/terminal-window.c
==============================================================================
--- trunk/src/terminal-window.c	(original)
+++ trunk/src/terminal-window.c	Wed Mar 19 18:13:26 2008
@@ -1070,6 +1070,9 @@
   if (screen_changed)
     screen_changed (widget, previous_screen);
 
+  if (previous_screen == gtk_widget_get_screen (widget))
+    return;
+
   terminal_window_settings_update (widget);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]