[gnome-builder/wip/plugins] command-bar: re-enable comand providers
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/plugins] command-bar: re-enable comand providers
- Date: Mon, 8 Jun 2015 20:49:20 +0000 (UTC)
commit 3e0a8a5590da14d4b086ff699dd02c86dd1c3750
Author: Christian Hergert <christian hergert me>
Date: Mon Jun 8 13:49:09 2015 -0700
command-bar: re-enable comand providers
plugins/command-bar/gb-command-bar.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/plugins/command-bar/gb-command-bar.c b/plugins/command-bar/gb-command-bar.c
index b760c34..4e5038b 100644
--- a/plugins/command-bar/gb-command-bar.c
+++ b/plugins/command-bar/gb-command-bar.c
@@ -20,8 +20,9 @@
#include <ide.h>
#include "gb-command.h"
-#include "gb-command-bar.h"
#include "gb-command-bar-resources.h"
+#include "gb-command-bar.h"
+#include "gb-command-gaction-provider.h"
#include "gb-command-manager.h"
#include "gb-command-vim-provider.h"
#include "gb-glib.h"
@@ -89,6 +90,12 @@ gb_command_bar_load (GbWorkbenchAddin *addin)
g_assert (GB_IS_COMMAND_BAR (self));
+ provider = g_object_new (GB_TYPE_COMMAND_GACTION_PROVIDER,
+ "workbench", self->workbench,
+ NULL);
+ gb_command_manager_add_provider (self->command_manager, provider);
+ g_clear_object (&provider);
+
provider = g_object_new (GB_TYPE_COMMAND_VIM_PROVIDER,
"workbench", self->workbench,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]