projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7817e6
)
filechooser: Restore ~ and . functionality
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 9 Sep 2022 18:43:05 +0000
(14:43 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 9 Sep 2022 18:44:28 +0000
(14:44 -0400)
We'll have to keep patching up these things
until somebody rewrites the file chooser :(
Inspired by: !4970
gtk/gtkfilechooserwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserwidget.c
b/gtk/gtkfilechooserwidget.c
index 44b4c72eb1344fca6994c328ef7eb9f0e38a9e0d..886c96c738d711796a8def3aa6240ca77b4b927b 100644
(file)
--- a/
gtk/gtkfilechooserwidget.c
+++ b/
gtk/gtkfilechooserwidget.c
@@
-7758,7
+7758,7
@@
captured_key (GtkEventControllerKey *controller,
impl->location_mode == LOCATION_MODE_FILENAME_ENTRY))
return GDK_EVENT_PROPAGATE;
- if (keyval == GDK_KEY_slash)
+ if (keyval == GDK_KEY_slash
|| keyval == GDK_KEY_asciitilde || keyval == GDK_KEY_period
)
return GDK_EVENT_PROPAGATE;
if (impl->location_entry)