[gnome-commander] support for backward/forward mouse buttons



commit 342e5167036560f705200515579d4d0fb5ea82c3
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Fri Apr 29 20:50:40 2011 +0200

    support for backward/forward mouse buttons

 NEWS                           |    3 +++
 doc/C/gnome-commander.xml      |    8 ++++++++
 src/gnome-cmd-file-selector.cc |   10 ++++++++++
 3 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index f9ff457..ea7cc8b 100644
--- a/NEWS
+++ b/NEWS
@@ -40,6 +40,9 @@ Bug fixes:
  * Fixed problem #640387 (usage of deprecated python modules: md5, sha1)
  * Fixed problem with Traditional Chinese translation
 
+New features:
+ * Support for backward/forward mouse buttons
+
 
 ===================================
 gnome-commander 1.2.8.10
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index c81abfe..1e4f639 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -7682,6 +7682,14 @@
                         </listitem>
                     </itemizedlist>
                 </para>
+                <para>New features:</para>
+                <para>
+                    <itemizedlist>
+                        <listitem>
+                            <para>Support for backward/forward mouse buttons</para>
+                        </listitem>
+                    </itemizedlist>
+                </para>
             </entry>
         </row>
         <row valign="top">
diff --git a/src/gnome-cmd-file-selector.cc b/src/gnome-cmd-file-selector.cc
index 8e58951..1d0f45a 100644
--- a/src/gnome-cmd-file-selector.cc
+++ b/src/gnome-cmd-file-selector.cc
@@ -492,6 +492,16 @@ static void on_list_list_clicked (GnomeCmdFileList *fl, GnomeCmdFile *f, GdkEven
                         fs->new_tab(f && f->info->type==GNOME_VFS_FILE_TYPE_DIRECTORY ? GNOME_CMD_DIR (f) : fl->cwd);
                 }
                 break;
+
+            case 6:
+            case 8:
+                fs->back();
+                break;
+
+            case 7:
+            case 9:
+                fs->forward();
+                break;
         }
 }
 



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