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



commit 0c584325f553b58431179ff72d3da93a5a36fa1d
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sun Nov 8 22:43:31 2009 +0100

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

 src/gnome-cmd-prepare-xfer-dialog.cc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
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]