[gnome-builder/wip/chergert/layout] workbench: wire up shortcut manager
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/layout] workbench: wire up shortcut manager
- Date: Wed, 28 Jun 2017 02:41:22 +0000 (UTC)
commit b9f8b3093aabe4cac0e927fb2344f15455db0bce
Author: Christian Hergert <chergert redhat com>
Date: Tue Jun 27 19:40:01 2017 -0700
workbench: wire up shortcut manager
libide/workbench/ide-workbench.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libide/workbench/ide-workbench.c b/libide/workbench/ide-workbench.c
index 6bc5de1..035be40 100644
--- a/libide/workbench/ide-workbench.c
+++ b/libide/workbench/ide-workbench.c
@@ -445,6 +445,11 @@ ide_workbench_init (IdeWorkbench *self)
window_group = gtk_window_group_new ();
gtk_window_group_add_window (window_group, GTK_WINDOW (self));
+
+ g_signal_connect_swapped (self,
+ "key-press-event",
+ G_CALLBACK (dzl_shortcut_manager_handle_event),
+ dzl_shortcut_manager_get_default ());
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]