projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a347052
)
file chooser: Open location entry on '.'
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 27 Jun 2015 19:06:25 +0000
(15:06 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 4 Jul 2015 04:29:25 +0000
(
00:29
-0400)
Typing ./ is a fairly common practice to enter a location
relative to the cwd, so make this open the location entry.
gtk/gtkfilechooserwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserwidget.c
b/gtk/gtkfilechooserwidget.c
index 5faf619b177d9c0504e681cdc88545676149dad8..8ed65d5bde2564b15b94b2dc687e5e4102a9939f 100644
(file)
--- 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