summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserwidget.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-06-27 15:06:25 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-07-04 00:29:25 -0400
commit5825965027b978a0efda6741f765799c7c16c5b5 (patch)
tree6a00dc43c0361b7787f9670350e9d288f4785a09 /gtk/gtkfilechooserwidget.c
parenta3470521ae2474e31dd244f4b76ba4db84aad9dc (diff)
downloadgtk+-5825965027b978a0efda6741f765799c7c16c5b5.tar.gz
file chooser: Open location entry on '.'
Typing ./ is a fairly common practice to enter a location relative to the cwd, so make this open the location entry.
Diffstat (limited to 'gtk/gtkfilechooserwidget.c')
-rw-r--r--gtk/gtkfilechooserwidget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 5faf619b17..8ed65d5bde 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -1217,6 +1217,7 @@ browse_files_key_press_event_cb (GtkWidget *widget,
if ((event->keyval == GDK_KEY_slash
|| event->keyval == GDK_KEY_KP_Divide
+ || event->keyval == GDK_KEY_period
#ifdef G_OS_UNIX
|| event->keyval == GDK_KEY_asciitilde
#endif