[gnome-commander] tabs: added 'Close All Tabs' to View menu



commit 19e316cbbada547138573aa608a1b8cba7cc55ba
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Thu Jun 24 21:19:26 2010 +0200

    tabs: added 'Close All Tabs' to View menu

 src/gnome-cmd-main-menu.cc |   20 +++++++++++++-------
 1 files changed, 13 insertions(+), 7 deletions(-)
---
diff --git a/src/gnome-cmd-main-menu.cc b/src/gnome-cmd-main-menu.cc
index b8442d0..b8d45db 100644
--- a/src/gnome-cmd-main-menu.cc
+++ b/src/gnome-cmd-main-menu.cc
@@ -631,6 +631,12 @@ static void init (GnomeCmdMainMenu *main_menu)
             GNOME_APP_PIXMAP_STOCK, GTK_STOCK_CLOSE,
             NULL
         },
+        {
+            MENU_TYPE_ITEM, _("Close _All Tabs"), "Ctrl+Shift+W", NULL,
+            (gpointer) view_close_all_tabs, NULL,
+            GNOME_APP_PIXMAP_STOCK, GTK_STOCK_CLOSE,
+            NULL
+        },
         MENUTYPE_SEPARATOR,
         {
             MENU_TYPE_TOGGLEITEM, _("Show Toolbar"), "", NULL,
@@ -843,13 +849,13 @@ static void init (GnomeCmdMainMenu *main_menu)
     gtk_menu_shell_append (GTK_MENU_SHELL (main_menu), main_menu->priv->help_menu);
 
     main_menu->priv->menu_edit_paste = edit_menu_uiinfo[2].widget;
-    main_menu->priv->menu_view_toolbar = view_menu_uiinfo[7].widget;
-    main_menu->priv->menu_view_conbuttons = view_menu_uiinfo[8].widget;
-    main_menu->priv->menu_view_concombo = view_menu_uiinfo[9].widget;
-    main_menu->priv->menu_view_cmdline = view_menu_uiinfo[10].widget;
-    main_menu->priv->menu_view_buttonbar = view_menu_uiinfo[11].widget;
-    main_menu->priv->menu_view_hidden_files = view_menu_uiinfo[13].widget;
-    main_menu->priv->menu_view_backup_files = view_menu_uiinfo[14].widget;
+    main_menu->priv->menu_view_toolbar = view_menu_uiinfo[8].widget;
+    main_menu->priv->menu_view_conbuttons = view_menu_uiinfo[9].widget;
+    main_menu->priv->menu_view_concombo = view_menu_uiinfo[10].widget;
+    main_menu->priv->menu_view_cmdline = view_menu_uiinfo[11].widget;
+    main_menu->priv->menu_view_buttonbar = view_menu_uiinfo[12].widget;
+    main_menu->priv->menu_view_hidden_files = view_menu_uiinfo[14].widget;
+    main_menu->priv->menu_view_backup_files = view_menu_uiinfo[15].widget;
     main_menu->priv->menu_view_back = view_menu_uiinfo[0].widget;
     main_menu->priv->menu_view_forward = view_menu_uiinfo[1].widget;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]