[gnome-builder/wip/afranke/userdoc: 3/3] Add keyboard shortcut for help
- From: Alexandre Franke <afranke src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/afranke/userdoc: 3/3] Add keyboard shortcut for help
- Date: Wed, 27 Jan 2016 21:40:12 +0000 (UTC)
commit fe6e74fc8a157c2844444d66a9aa39e68f2a9f22
Author: Alexandre Franke <alexandre franke gmail com>
Date: Wed Jan 27 21:57:09 2016 +0100
Add keyboard shortcut for help
libide/ide-application-actions.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libide/ide-application-actions.c b/libide/ide-application-actions.c
index ceb7229..89188fd 100644
--- a/libide/ide-application-actions.c
+++ b/libide/ide-application-actions.c
@@ -309,6 +309,7 @@ ide_application_actions_init (IdeApplication *self)
static const gchar *global_search[] = { "<control>period", NULL };
static const gchar *new_file[] = { "<control>n", NULL };
static const gchar *shortcuts[] = { "<control>F1", "<control><shift>question", NULL };
+ static const gchar *help[] = { "F1", NULL };
g_action_map_add_action_entries (G_ACTION_MAP (self), IdeApplicationActions,
G_N_ELEMENTS (IdeApplicationActions), self);
@@ -323,4 +324,5 @@ ide_application_actions_init (IdeApplication *self)
gtk_application_set_accels_for_action (GTK_APPLICATION (self), "perspective.global-search", global_search);
gtk_application_set_accels_for_action (GTK_APPLICATION (self), "perspective.new-file", new_file);
gtk_application_set_accels_for_action (GTK_APPLICATION (self), "app.shortcuts", shortcuts);
+ gtk_application_set_accels_for_action (GTK_APPLICATION (self), "app.help", help);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]