[MPlayer-cvslog] r34439 - trunk/gui/ui/gtk/fileselect.c
ib
subversion at mplayerhq.hu
Sun Dec 11 19:47:41 CET 2011
Author: ib
Date: Sun Dec 11 19:47:40 2011
New Revision: 34439
Log:
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).
Modified:
trunk/gui/ui/gtk/fileselect.c
Modified: trunk/gui/ui/gtk/fileselect.c
==============================================================================
--- trunk/gui/ui/gtk/fileselect.c Sun Dec 11 18:52:20 2011 (r34438)
+++ trunk/gui/ui/gtk/fileselect.c Sun Dec 11 19:47:40 2011 (r34439)
@@ -558,9 +558,11 @@ static gboolean on_FileSelect_key_releas
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;
}
}
More information about the MPlayer-cvslog
mailing list