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:
Matthias Clasen 2022-09-09 14:43:05 -04:00
parent d7817e6fc6
commit 7e54a7e5a5

View File

@ -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)