gnome-terminal r2949 - trunk/src



Author: chpe
Date: Mon Jul  7 20:54:04 2008
New Revision: 2949
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2949&view=rev

Log:
Only update the profile menu if the active tab's profile changes.


Modified:
   trunk/src/terminal-window.c

Modified: trunk/src/terminal-window.c
==============================================================================
--- trunk/src/terminal-window.c	(original)
+++ trunk/src/terminal-window.c	Mon Jul  7 20:54:04 2008
@@ -1691,6 +1691,11 @@
                       TerminalProfile *old_profile,
                       TerminalWindow *window)
 {
+  TerminalWindowPrivate *priv = window->priv;
+
+  if (screen != priv->active_screen)
+    return;
+
   terminal_window_update_set_profile_menu_active_profile (window);
 }
 



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