mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-03 17:21:11 +00:00
file chooser: Open location entry more easily
Show the location entry also when alphanumerics are typed into the list.
This commit is contained in:
parent
cd033e6f07
commit
e6c1cbc88e
@ -1198,6 +1198,7 @@ browse_files_key_press_event_cb (GtkWidget *widget,
|
|||||||
|
|
||||||
if ((event->keyval == GDK_KEY_slash
|
if ((event->keyval == GDK_KEY_slash
|
||||||
|| event->keyval == GDK_KEY_KP_Divide
|
|| event->keyval == GDK_KEY_KP_Divide
|
||||||
|
|| g_unichar_isalnum (gdk_keyval_to_unicode (event->keyval))
|
||||||
#ifdef G_OS_UNIX
|
#ifdef G_OS_UNIX
|
||||||
|| event->keyval == GDK_KEY_asciitilde
|
|| event->keyval == GDK_KEY_asciitilde
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user