[gnome-photos/gnome-3-22] application: Add F1 accelerator to show help
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/gnome-3-22] application: Add F1 accelerator to show help
- Date: Tue, 10 Jan 2017 10:27:15 +0000 (UTC)
commit 5e6dcf23a845d64e31c776da5e664afd64496e5f
Author: Scott Cohen <scottbencohen yahoo com>
Date: Wed Jan 4 06:41:30 2017 -0800
application: Add F1 accelerator to show help
https://bugzilla.gnome.org/show_bug.cgi?id=776670
src/photos-application.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index df643a3..6c6f515 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -1634,6 +1634,7 @@ photos_application_startup (GApplication *application)
const gchar *edit_accels[2] = {"<Primary>e", NULL};
const gchar *fullscreen_accels[2] = {"F11", NULL};
const gchar *gear_menu_accels[2] = {"F10", NULL};
+ const gchar *help_menu_accels[2] = {"F1", NULL};
const gchar *print_current_accels[2] = {"<Primary>p", NULL};
const gchar *quit_accels[2] = {"<Primary>q", NULL};
const gchar *save_accels[2] = {"<Primary>x", NULL};
@@ -1857,6 +1858,7 @@ photos_application_startup (GApplication *application)
gtk_application_set_accels_for_action (GTK_APPLICATION (self), "app.edit-current", edit_accels);
gtk_application_set_accels_for_action (GTK_APPLICATION (self), "app.fullscreen", fullscreen_accels);
gtk_application_set_accels_for_action (GTK_APPLICATION (self), "app.gear-menu", gear_menu_accels);
+ gtk_application_set_accels_for_action (GTK_APPLICATION (self), "app.help", help_menu_accels);
gtk_application_set_accels_for_action (GTK_APPLICATION (self), "app.print-current", print_current_accels);
gtk_application_set_accels_for_action (GTK_APPLICATION (self), "app.save-current", save_accels);
gtk_application_set_accels_for_action (GTK_APPLICATION (self), "app.search", search_accels);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]