diff gui/ui/gtk/fileselect.c @ 34351:52a18f850c28

Leave the focus in fsFNameList after key event in file selector. Otherwise it would switch to fsPathCombo which is annoying for key control. This helps when operating the GUI with a remote control (and doesn't harm if not).
author ib
date Sun, 11 Dec 2011 18:47:40 +0000
parents 3d0c795524b0
children b02b6ad1b7fb
line wrap: on
line diff
--- a/gui/ui/gtk/fileselect.c	Sun Dec 11 17:52:20 2011 +0000
+++ b/gui/ui/gtk/fileselect.c	Sun Dec 11 18:47:40 2011 +0000
@@ -558,9 +558,11 @@
          break;
     case GDK_Return:
          gtk_button_released( GTK_BUTTON( fsOk ) );
+         gtk_widget_grab_focus( fsFNameList );
          break;
     case GDK_BackSpace:
          gtk_button_released( GTK_BUTTON( fsUp ) );
+         gtk_widget_grab_focus( fsFNameList );
          break;
    }
  }