[gnome-builder] keybindings: add keybinding for new-file
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] keybindings: add keybinding for new-file
- Date: Mon, 21 Dec 2015 08:03:07 +0000 (UTC)
commit 3ee9d8c47305b18589ce808e5e1d8fe6e3c6b1da
Author: Christian Hergert <chergert redhat com>
Date: Sun Dec 6 00:17:16 2015 -0800
keybindings: add keybinding for new-file
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 f344da6..1a8fd5b 100644
--- a/libide/ide-application-actions.c
+++ b/libide/ide-application-actions.c
@@ -270,6 +270,7 @@ ide_application_actions_init (IdeApplication *self)
static const gchar *bottom[] = { "<control>F9", NULL };
static const gchar *preferences[] = { "<control>comma", NULL };
static const gchar *global_search[] = { "<control>period", NULL };
+ static const gchar *new_file[] = { "<control>n", NULL };
g_action_map_add_action_entries (G_ACTION_MAP (self), IdeApplicationActions,
G_N_ELEMENTS (IdeApplicationActions), self);
@@ -282,4 +283,5 @@ ide_application_actions_init (IdeApplication *self)
gtk_application_set_accels_for_action (GTK_APPLICATION (self), "panels.bottom", bottom);
gtk_application_set_accels_for_action (GTK_APPLICATION (self), "app.preferences", preferences);
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]