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:
Matthias Clasen 2015-06-29 08:40:14 -07:00
parent 5bc88bdc67
commit 648e4a7ea9

View File

@ -7696,6 +7696,10 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
GDK_KEY_s, GDK_MOD1_MASK,
"search-shortcut",
0);
gtk_binding_entry_add_signal (binding_set,
GDK_KEY_f, GDK_CONTROL_MASK,
"search-shortcut",
0);
gtk_binding_entry_add_signal (binding_set,
GDK_KEY_r, GDK_MOD1_MASK,
"recent-shortcut",