[gnome-terminal] 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] window: Make terminal close keybinding work for single tab windows
- Date: Sat, 14 Sep 2013 10:17:34 +0000 (UTC)
commit 50554c50da9f5c2490d0d9838d179ff281e13d44
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
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 354a7f2..55bccf8 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -1848,8 +1848,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]