gnome-terminal r3117 - branches/gnome-2-24/src



Author: chpe
Date: Wed Oct  1 16:38:12 2008
New Revision: 3117
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=3117&view=rev

Log:
Bug 554485 â regression: open new tab using keyboard shortcut does not open new tab with profile of parent window
Patch by Alexander Sack.

Modified:
   branches/gnome-2-24/src/terminal-window.c

Modified: branches/gnome-2-24/src/terminal-window.c
==============================================================================
--- branches/gnome-2-24/src/terminal-window.c	(original)
+++ branches/gnome-2-24/src/terminal-window.c	Wed Oct  1 16:38:12 2008
@@ -2566,6 +2566,8 @@
 
   profile = g_object_get_data (G_OBJECT (action), PROFILE_DATA_KEY);
   if (!profile)
+    profile = terminal_screen_get_profile (priv->active_screen);
+  if (!profile)
     profile = terminal_app_get_profile_for_new_term (app);
   if (!profile)
     return;
@@ -2594,6 +2596,8 @@
   app = terminal_app_get ();
   profile = g_object_get_data (G_OBJECT (action), PROFILE_DATA_KEY);
   if (!profile)
+    profile = terminal_screen_get_profile (priv->active_screen);
+  if (!profile)
     profile = terminal_app_get_profile_for_new_term (app);
   if (!profile)
     return;



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