gnome-terminal r2522 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2522 - trunk/src
- Date: Thu, 20 Mar 2008 22:43:55 +0000 (GMT)
Author: chpe
Date: Thu Mar 20 22:43:55 2008
New Revision: 2522
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2522&view=rev
Log:
Fix TabsDetach and FileCloseTab action sensitivity with only one tab present in the window. Bug #523649.
Modified:
trunk/src/terminal-window.c
Modified: trunk/src/terminal-window.c
==============================================================================
--- trunk/src/terminal-window.c (original)
+++ trunk/src/terminal-window.c Thu Mar 20 22:43:55 2008
@@ -714,9 +714,9 @@
action = gtk_action_group_get_action (action_group, "TabsMoveRight");
gtk_action_set_sensitive (action, not_last);
action = gtk_action_group_get_action (action_group, "TabsDetach");
- gtk_action_set_sensitive (action, num_pages > 0);
+ gtk_action_set_sensitive (action, num_pages > 1);
action = gtk_action_group_get_action (action_group, "FileCloseTab");
- gtk_action_set_sensitive (action, num_pages > 0);
+ gtk_action_set_sensitive (action, num_pages > 1);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]