[gnome-commander/gcmd-1-2-8] Fixed problem with nonexistent user actions
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-2-8] Fixed problem with nonexistent user actions
- Date: Sat, 16 Jan 2010 12:18:17 +0000 (UTC)
commit 59a3539db5ed85364d978a1efb52e6625d142673
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sat Jan 16 13:06:47 2010 +0100
Fixed problem with nonexistent user actions
NEWS | 1 +
doc/C/gnome-commander.xml | 3 +++
src/gnome-cmd-user-actions.cc | 11 -----------
3 files changed, 4 insertions(+), 11 deletions(-)
---
diff --git a/NEWS b/NEWS
index 7247b65..b01f471 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ gnome-commander 1.2.8.5
Bug fixes:
* Fixed problem #604558 (cursor lost/placed in wrong position)
* Fixed problem #604904 (build error on OpenSolaris)
+ * Fixed problem with nonexistent user actions
===================================
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index c064409..f46a5aa 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -6027,6 +6027,9 @@
<listitem>
<para>Fixed problem #604904 (build error on OpenSolaris)</para>
</listitem>
+ <listitem>
+ <para>Fixed problem with nonexistent user actions</para>
+ </listitem>
</itemizedlist>
</para>
</entry>
diff --git a/src/gnome-cmd-user-actions.cc b/src/gnome-cmd-user-actions.cc
index 90773f2..0c3c95d 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -189,7 +189,6 @@ static UserActionData user_actions_data[] = {
{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")},
@@ -199,7 +198,6 @@ static UserActionData user_actions_data[] = {
{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")},
#if 0
@@ -334,15 +332,6 @@ void GnomeCmdUserActions::init()
if (!registered("view.refresh"))
register_action(GDK_CONTROL_MASK, GDK_R, "view.refresh");
- if (!registered("view.new_tab"))
- {
- unregister(GDK_CONTROL_MASK, GDK_T); // unregister CTRL+T as it was used previously for file.advrename
- register_action(GDK_CONTROL_MASK, GDK_T, "view.new_tab");
- }
-
- if (!registered("view.close_tab"))
- register_action(GDK_CONTROL_MASK, GDK_W, "view.close_tab");
-
unregister(GDK_F9); // unregister F9 if defined in [key-bindings]
register_action(GDK_F9, "edit.search"); // and overwrite it with edit.search action
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]