[nautilus] view: add back alt<Down> as accelerator for open action
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] view: add back alt<Down> as accelerator for open action
- Date: Sun, 24 May 2015 20:59:55 +0000 (UTC)
commit 7860ee31e1813c352d20645ed623686ade0295ce
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun May 24 13:58:56 2015 -0700
view: add back alt<Down> as accelerator for open action
https://bugzilla.gnome.org/show_bug.cgi?id=747773
src/nautilus-view.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-view.c b/src/nautilus-view.c
index 6c95b9e..8af50bd 100644
--- a/src/nautilus-view.c
+++ b/src/nautilus-view.c
@@ -7623,6 +7623,11 @@ nautilus_view_init (NautilusView *view)
NautilusDirectory *templates_directory;
gchar *templates_uri;
GApplication *app;
+ const gchar *open_accels[] = {
+ "<control>o",
+ "<alt>Down",
+ NULL
+ };
nautilus_profile_start (NULL);
@@ -7720,7 +7725,8 @@ nautilus_view_init (NautilusView *view)
nautilus_application_add_accelerator (app, "view.select-all", "<control>a");
nautilus_application_add_accelerator (app, "view.paste", "<control>v");
/* Selection menu */
- nautilus_application_add_accelerator (app, "view.open-with-default-application", "<control>o");
+ gtk_application_set_accels_for_action (GTK_APPLICATION (app),
+ "view.open-with-default-application", open_accels);
nautilus_application_add_accelerator (app, "view.open-item-new-tab", "<shift><control>t");
nautilus_application_add_accelerator (app, "view.open-item-new-window", "<shift><control>w");
nautilus_application_add_accelerator (app, "view.move-to-trash", "Delete");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]