Mercurial > mplayer.hg
changeset 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 | 27dead7f2593 |
children | c535e4a0bd75 |
files | gui/ui/gtk/fileselect.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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; } }