[gnome-commander] Fixed problem with not working keypad enter in copy/move dialog



commit bcd8012a7defe2173b8e959dfa93ec029dc7fb8d
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sun Nov 8 22:41:23 2009 +0100

    Fixed problem with not working keypad enter in copy/move dialog

 NEWS                                 |    1 +
 doc/C/gnome-commander.xml            |    3 +++
 src/gnome-cmd-prepare-xfer-dialog.cc |    1 +
 3 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index 57cb1a4..422adf2 100644
--- a/NEWS
+++ b/NEWS
@@ -19,6 +19,7 @@ gnome-commander 1.2.8.4
 
 Bug fixes:
  * Fixed Ubuntu problem #369818 (incorrect sorting by size in panel)
+ * Fixed problem with not working keypad enter in copy/move dialog
 
 
 ===================================
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index 19d75bd..ad2c9cd 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -6030,6 +6030,9 @@
                         <listitem>
                             <para>Fixed Ubuntu problem #369818 (incorrect sorting by size in panel)</para>
                         </listitem>
+                        <listitem>
+                            <para>Fixed problem with not working keypad enter in copy/move dialog</para>
+                        </listitem>
                     </itemizedlist>
                 </para>
             </entry>
diff --git a/src/gnome-cmd-prepare-xfer-dialog.cc b/src/gnome-cmd-prepare-xfer-dialog.cc
index 0926035..4635bcb 100644
--- a/src/gnome-cmd-prepare-xfer-dialog.cc
+++ b/src/gnome-cmd-prepare-xfer-dialog.cc
@@ -250,6 +250,7 @@ static gboolean on_dest_dir_entry_keypressed (GtkEntry *entry, GdkEventKey *even
     switch (event->keyval)
     {
         case GDK_Return:
+        case GDK_KP_Enter:
             gtk_signal_emit_by_name (GTK_OBJECT (dialog->ok_button), "clicked", dialog, NULL);
             return TRUE;
 



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