[gnome-builder/gnome-builder-3-28] workbench: remove action groups when destroying window
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-28] workbench: remove action groups when destroying window
- Date: Fri, 3 Aug 2018 23:50:07 +0000 (UTC)
commit 07b75015456d2b1fa8e8dc8c0dff3069bf330a54
Author: Christian Hergert <chergert redhat com>
Date: Fri Aug 3 16:46:49 2018 -0700
workbench: remove action groups when destroying window
src/libide/workbench/ide-workbench.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/src/libide/workbench/ide-workbench.c b/src/libide/workbench/ide-workbench.c
index f0b117f06..27402059a 100644
--- a/src/libide/workbench/ide-workbench.c
+++ b/src/libide/workbench/ide-workbench.c
@@ -186,6 +186,11 @@ ide_workbench_delete_event (GtkWidget *widget,
*/
gtk_widget_hide (GTK_WIDGET (self));
+ dzl_gtk_widget_mux_action_groups (GTK_WIDGET (self), NULL, "IDE_PERSPECTIVE_ACTIONS");
+ gtk_widget_insert_action_group (GTK_WIDGET (self), "build-manager", NULL);
+ gtk_widget_insert_action_group (GTK_WIDGET (self), "run-manager", NULL);
+ gtk_widget_insert_action_group (GTK_WIDGET (self), "device-manager", NULL);
+
/*
* Now start unloading addins, which will cascade into the removal
* of perspectives and other bits and pieces (like editor addins).
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]