[gtk+/wip/matthiasc/filechooser] file chooser: Open location entry on '.'
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/matthiasc/filechooser] file chooser: Open location entry on '.'
- Date: Sat, 27 Jun 2015 20:02:37 +0000 (UTC)
commit 84a94b1912683f64972469c0dfb6553d710d0679
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jun 27 15:06:25 2015 -0400
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.
gtk/gtkfilechooserwidget.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 0c338b9..022bbb2 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]