Commit 8e3fff7a authored by Christian Hergert's avatar Christian Hergert
Browse files

workbench: insert device-manager actiongroup into workbench

parent 5d7081b0
......@@ -26,6 +26,7 @@
#include "application/ide-application.h"
#include "application/ide-application-actions.h"
#include "editor/ide-editor-perspective.h"
#include "devices/ide-device-manager.h"
#include "layout/ide-layout-pane.h"
#include "layout/ide-layout-view.h"
#include "layout/ide-layout.h"
......@@ -651,6 +652,7 @@ void
ide_workbench_set_context (IdeWorkbench *self,
IdeContext *context)
{
IdeDeviceManager *device_manager;
IdeBuildManager *build_manager;
IdeRunManager *run_manager;
IdeProject *project;
......@@ -676,6 +678,11 @@ ide_workbench_set_context (IdeWorkbench *self,
"build-manager",
G_ACTION_GROUP (build_manager));
device_manager = ide_context_get_device_manager (context);
gtk_widget_insert_action_group (GTK_WIDGET (self),
"device-manager",
G_ACTION_GROUP (device_manager));
run_manager = ide_context_get_run_manager (context);
gtk_widget_insert_action_group (GTK_WIDGET (self),
"run-manager",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment