[gtk+] file chooser: Open location entry more easily
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] file chooser: Open location entry more easily
- Date: Mon, 6 Apr 2015 02:33:16 +0000 (UTC)
commit e6c1cbc88ebbf51dcf4ca2b4b0016c81808d7889
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Apr 5 22:12:46 2015 -0400
file chooser: Open location entry more easily
Show the location entry also when alphanumerics are typed
into the list.
gtk/gtkfilechooserwidget.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index f995cb1..836cbb9 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -1198,6 +1198,7 @@ browse_files_key_press_event_cb (GtkWidget *widget,
if ((event->keyval == GDK_KEY_slash
|| event->keyval == GDK_KEY_KP_Divide
+ || g_unichar_isalnum (gdk_keyval_to_unicode (event->keyval))
#ifdef G_OS_UNIX
|| event->keyval == GDK_KEY_asciitilde
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]