[gnome-builder/wip/chergert/merge-shortcuts] shortcuts: add shortcuts from IdeShortcutManager



commit b8ab528b1f95912d22c81140a3d482ade367b63b
Author: Christian Hergert <chergert redhat com>
Date:   Mon May 22 22:00:18 2017 -0700

    shortcuts: add shortcuts from IdeShortcutManager

 libide/application/ide-application-actions.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libide/application/ide-application-actions.c b/libide/application/ide-application-actions.c
index eb07e74..0028d27 100644
--- a/libide/application/ide-application-actions.c
+++ b/libide/application/ide-application-actions.c
@@ -29,6 +29,7 @@
 #include "application/ide-application-actions.h"
 #include "application/ide-application-credits.h"
 #include "application/ide-application-private.h"
+#include "shortcuts/ide-shortcut-manager.h"
 #include "shortcuts/ide-shortcuts-window.h"
 #include "workbench/ide-workbench.h"
 #include "greeter/ide-greeter-perspective.h"
@@ -331,6 +332,8 @@ ide_application_actions_shortcuts (GSimpleAction *action,
                          "transient-for", parent,
                          NULL);
 
+  ide_shortcut_manager_add_shortcuts_to_window (NULL, IDE_SHORTCUTS_WINDOW (window));
+
   gtk_window_present (GTK_WINDOW (window));
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]