mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-03 17:21:11 +00:00
file chooser: Add Ctrl-F as search shortcut
This is what nautilus uses, and is more discoverable than the somewhat easter-egg Alt-S, which is still supported.
This commit is contained in:
parent
5bc88bdc67
commit
648e4a7ea9
@ -7696,6 +7696,10 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
|
|||||||
GDK_KEY_s, GDK_MOD1_MASK,
|
GDK_KEY_s, GDK_MOD1_MASK,
|
||||||
"search-shortcut",
|
"search-shortcut",
|
||||||
0);
|
0);
|
||||||
|
gtk_binding_entry_add_signal (binding_set,
|
||||||
|
GDK_KEY_f, GDK_CONTROL_MASK,
|
||||||
|
"search-shortcut",
|
||||||
|
0);
|
||||||
gtk_binding_entry_add_signal (binding_set,
|
gtk_binding_entry_add_signal (binding_set,
|
||||||
GDK_KEY_r, GDK_MOD1_MASK,
|
GDK_KEY_r, GDK_MOD1_MASK,
|
||||||
"recent-shortcut",
|
"recent-shortcut",
|
||||||
|
Loading…
Reference in New Issue
Block a user