[gnome-terminal/gnome-3-10] window: Make terminal close keybinding work for single tab windows
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal/gnome-3-10] window: Make terminal close keybinding work for single tab windows
- Date: Sat, 14 Sep 2013 11:21:07 +0000 (UTC)
commit 6f3092b26e3537414e657755ef6f89c083c0648c
Author: Christian Persch <chpe gnome org>
Date: Thu Sep 12 20:32:05 2013 +0200
window: Make terminal close keybinding work for single tab windows
There's no real reason not to allow the same action to also close a
single-tab window.
https://bugzilla.gnome.org/show_bug.cgi?id=701354
(cherry picked from commit 50554c50da9f5c2490d0d9838d179ff281e13d44)
src/terminal-window.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index f873d73..ed8481c 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -1114,8 +1114,6 @@ terminal_window_update_tabs_menu_sensitivity (TerminalWindow *window)
gtk_action_set_sensitive (action, not_last);
action = gtk_action_group_get_action (action_group, "TabsDetach");
gtk_action_set_sensitive (action, num_pages > 1);
- action = gtk_action_group_get_action (action_group, "FileCloseTab");
- gtk_action_set_sensitive (action, num_pages > 1);
}
static GtkNotebook *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]