gnome-commander r2429 - trunk/src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r2429 - trunk/src
- Date: Wed, 14 Jan 2009 21:27:30 +0000 (UTC)
Author: epiotr
Date: Wed Jan 14 21:27:30 2009
New Revision: 2429
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2429&view=rev
Log:
tabs: added (empty) user actions for open/close tabs
Modified:
trunk/src/gnome-cmd-file-list.cc
trunk/src/gnome-cmd-user-actions.cc
trunk/src/gnome-cmd-user-actions.h
Modified: trunk/src/gnome-cmd-file-list.cc
==============================================================================
--- trunk/src/gnome-cmd-file-list.cc (original)
+++ trunk/src/gnome-cmd-file-list.cc Wed Jan 14 21:27:30 2009
@@ -57,9 +57,7 @@
#if 0
static char *msgs[] = {N_("Open in New _Tab"),
- N_("_Close Tab"),
- N_("Close the current tab"),
- N_("Open directory in a new tab")};
+ N_("_Close Tab")};
#endif
Modified: trunk/src/gnome-cmd-user-actions.cc
==============================================================================
--- trunk/src/gnome-cmd-user-actions.cc (original)
+++ trunk/src/gnome-cmd-user-actions.cc Wed Jan 14 21:27:30 2009
@@ -189,6 +189,7 @@
{plugins_configure, "plugins.configure", N_("Configure plugins")},
{plugins_execute_python, "plugins.execute_python", N_("Execute python plugin")},
{view_back, "view.back", N_("Back one directory")},
+ {view_close_tab, "view.close_tab", N_("Close the current tab")},
{view_equal_panes, "view.equal_panes", N_("Equal panel size")},
{view_first, "view.first", N_("Back to the first directory")},
{view_forward, "view.forward", N_("Forward one directory")},
@@ -198,6 +199,7 @@
{view_in_left_pane, "view.in_left_pane", N_("Open directory in the left window")},
{view_in_right_pane, "view.in_right_pane", N_("Open directory in the right window")},
{view_last, "view.last", N_("Forward to the last directory")},
+ {view_new_tab, "view.new_tab", N_("Open directory in a new tab")},
{view_refresh, "view.refresh", N_("Refresh")},
{view_root, "view.root", N_("Root directory")},
{view_up, "view.up", N_("Up one directory")},
@@ -1367,6 +1369,16 @@
}
+void view_new_tab (GtkMenuItem *menuitem, gpointer not_used)
+{
+}
+
+
+void view_close_tab (GtkMenuItem *menuitem, gpointer not_used)
+{
+}
+
+
/************** Options Menu **************/
void options_edit (GtkMenuItem *menuitem, gpointer not_used)
{
Modified: trunk/src/gnome-cmd-user-actions.h
==============================================================================
--- trunk/src/gnome-cmd-user-actions.h (original)
+++ trunk/src/gnome-cmd-user-actions.h Wed Jan 14 21:27:30 2009
@@ -287,6 +287,8 @@
GNOME_CMD_USER_ACTION(view_in_inactive_pane);
GNOME_CMD_USER_ACTION(view_home);
GNOME_CMD_USER_ACTION(view_root);
+GNOME_CMD_USER_ACTION(view_new_tab);
+GNOME_CMD_USER_ACTION(view_close_tab);
/************** Bookmarks Menu **************/
GNOME_CMD_USER_ACTION(bookmarks_add_current);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]