[gnome-commander] Revert "Toggle path/basename/filename selections in F7 dialog"



commit fae9acc1245aa2411ceea4462e5b03291336ed33
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Mon Dec 13 17:48:26 2010 +0100

    Revert "Toggle path/basename/filename selections in F7 dialog"
    
    This reverts commit dedbbc7b6b407f1793427e6d2b203a29df2959ff.

 src/dialogs/gnome-cmd-mkdir-dialog.cc |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/dialogs/gnome-cmd-mkdir-dialog.cc b/src/dialogs/gnome-cmd-mkdir-dialog.cc
index fbd90a3..2938384 100644
--- a/src/dialogs/gnome-cmd-mkdir-dialog.cc
+++ b/src/dialogs/gnome-cmd-mkdir-dialog.cc
@@ -72,19 +72,6 @@ inline GSList *make_uri_list (GnomeCmdDir *dir, string filename)
 }
 
 
-static gboolean on_name_entry_keypressed (GtkEntry *entry, GdkEventKey *event, gpointer unused)
-{
-    switch (event->keyval)
-    {
-        case GDK_F7:
-            gnome_cmd_toggle_file_name_selection (GTK_WIDGET (entry));
-            return TRUE;
-    }
-
-    return FALSE;
-}
-
-
 static void response_callback (GtkDialog *dialog, int response_id, GnomeCmdDir *dir)
 {
     switch (response_id)
@@ -222,7 +209,6 @@ gboolean gnome_cmd_mkdir_dialog_new (GnomeCmdDir *dir, GnomeCmdFile *selected_fi
 
     gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
 
-    g_signal_connect (entry, "key-press-event", G_CALLBACK (on_name_entry_keypressed), NULL);
     g_signal_connect (dialog, "response", G_CALLBACK (response_callback), dir);
 
     gint result = gtk_dialog_run (GTK_DIALOG (dialog));



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