mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
filechooser: Restore ~ and . functionality
We'll have to keep patching up these things until somebody rewrites the file chooser :( Inspired by: !4970
This commit is contained in:
parent
d7817e6fc6
commit
7e54a7e5a5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user