summaryrefslogtreecommitdiff
path: root/extra/terminal/bug-7595-go-menu-single-tab-sensitivity.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/terminal/bug-7595-go-menu-single-tab-sensitivity.patch')
-rw-r--r--extra/terminal/bug-7595-go-menu-single-tab-sensitivity.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/extra/terminal/bug-7595-go-menu-single-tab-sensitivity.patch b/extra/terminal/bug-7595-go-menu-single-tab-sensitivity.patch
deleted file mode 100644
index 9d8eff6bd..000000000
--- a/extra/terminal/bug-7595-go-menu-single-tab-sensitivity.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From be9fca9ea8cedcf879c8e0c8cea96dd256a3591c Mon Sep 17 00:00:00 2001
-From: Nick Schermer <nick@xfce.org>
-Date: Thu, 12 May 2011 16:08:20 +0000
-Subject: Only make go menu action sensitive if tabs > 1 (bug #7595).
-
-This way the (default) Alt+1 keybinding is usable when
-only a single tab is opened in the terminal window.
----
-diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
-index f580a39..0d461a4 100644
---- a/terminal/terminal-window.c
-+++ b/terminal/terminal-window.c
-@@ -748,6 +748,7 @@ terminal_window_rebuild_gomenu (TerminalWindow *window)
-
- /* create action */
- radio_action = gtk_radio_action_new (name, NULL, NULL, NULL, n);
-+ gtk_action_set_sensitive (GTK_ACTION (radio_action), npages > 1);
- exo_binding_new (G_OBJECT (page), "title", G_OBJECT (radio_action), "label");
- gtk_radio_action_set_group (radio_action, group);
- group = gtk_radio_action_get_group (radio_action);
---
-cgit