[Xfce4-commits] r29681 - in terminal/trunk: . terminal

Nick Schermer nick at xfce.org
Sun Mar 22 21:14:39 CET 2009


Author: nick
Date: 2009-03-22 20:14:39 +0000 (Sun, 22 Mar 2009)
New Revision: 29681

Modified:
   terminal/trunk/NEWS
   terminal/trunk/terminal/terminal-window.c
Log:
Property destroy the go menu item when a terminal screen is closed
(bug #5101) so the Alt-[1-9] bindings work as expected.


Modified: terminal/trunk/NEWS
===================================================================
--- terminal/trunk/NEWS	2009-03-22 16:07:46 UTC (rev 29680)
+++ terminal/trunk/NEWS	2009-03-22 20:14:39 UTC (rev 29681)
@@ -1,3 +1,9 @@
+0.2.xx
+======
+- Property destroy the go menu item when a terminal screen is closed
+  (bug #5101) so the Alt-[1-9] bindings work as expected.
+
+
 0.2.10
 ======
 - Support for Drag and Drop of tabs between Terminal windows was added

Modified: terminal/trunk/terminal/terminal-window.c
===================================================================
--- terminal/trunk/terminal/terminal-window.c	2009-03-22 16:07:46 UTC (rev 29680)
+++ terminal/trunk/terminal/terminal-window.c	2009-03-22 20:14:39 UTC (rev 29681)
@@ -1026,6 +1026,9 @@
   /* get old window action */
   action = gtk_action_group_get_action (window->action_group, "set-title");
 
+  /* unset the go menu item */
+  g_object_set_data (G_OBJECT (child), I_("terminal-window-go-menu-item"), NULL);
+
   /* disconnect signals */
   g_signal_handlers_disconnect_by_func (G_OBJECT (child), terminal_window_get_context_menu, window);
   g_signal_handlers_disconnect_by_func (G_OBJECT (child), terminal_window_notify_title, window);




More information about the Xfce4-commits mailing list