[gnome-builder] workbench: remove legacy workbench actions
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] workbench: remove legacy workbench actions
- Date: Thu, 11 Dec 2014 01:13:39 +0000 (UTC)
commit 092549c4174f847d874da37d63d0943269a32fce
Author: Christian Hergert <christian hergert me>
Date: Wed Dec 10 17:13:34 2014 -0800
workbench: remove legacy workbench actions
src/gnome-builder.mk | 2 -
src/resources/keybindings/default.ini | 6 -
src/workbench/gb-workbench-actions.c | 234 ---------------------------------
src/workbench/gb-workbench-actions.h | 58 --------
src/workbench/gb-workbench.c | 7 -
5 files changed, 0 insertions(+), 307 deletions(-)
---
diff --git a/src/gnome-builder.mk b/src/gnome-builder.mk
index 41b0552..55fb7db 100644
--- a/src/gnome-builder.mk
+++ b/src/gnome-builder.mk
@@ -178,8 +178,6 @@ libgnome_builder_la_SOURCES = \
src/vim/gb-source-vim.h \
src/workbench/gb-workbench.c \
src/workbench/gb-workbench.h \
- src/workbench/gb-workbench-actions.c \
- src/workbench/gb-workbench-actions.h \
src/workbench/gb-workspace.c \
src/workbench/gb-workspace.h
diff --git a/src/resources/keybindings/default.ini b/src/resources/keybindings/default.ini
index fdc2aee..aeba4a9 100644
--- a/src/resources/keybindings/default.ini
+++ b/src/resources/keybindings/default.ini
@@ -10,12 +10,6 @@ go-backward = <Control>O
show-command-bar = <Control>space
global-search = <Control>period
-[workbench]
-# Temporary, so we can test vim.
-# Longer term, I want a custom vim.ini for when using vim for which
-# this will be ignored.
-new-tab = <Control><Shift>T
-
[editor]
# I'd like open to not have an accelerator by default eventually. We will move
# the majority of that feature to the global search making it unnecessary.
diff --git a/src/workbench/gb-workbench.c b/src/workbench/gb-workbench.c
index 864b62e..b9d969c 100644
--- a/src/workbench/gb-workbench.c
+++ b/src/workbench/gb-workbench.c
@@ -29,14 +29,12 @@
#include "gb-log.h"
#include "gb-widget.h"
#include "gb-workbench.h"
-#include "gb-workbench-actions.h"
#include "gedit-menu-stack-switcher.h"
#define UI_RESOURCE_PATH "/org/gnome/builder/ui/gb-workbench.ui"
struct _GbWorkbenchPrivate
{
- GbWorkbenchActions *actions;
GbCommandManager *command_manager;
GbNavigationList *navigation_list;
@@ -441,7 +439,6 @@ gb_workbench_dispose (GObject *object)
priv = GB_WORKBENCH (object)->priv;
- g_clear_object (&priv->actions);
g_clear_object (&priv->command_manager);
g_clear_object (&priv->navigation_list);
@@ -593,8 +590,4 @@ gb_workbench_init (GbWorkbench *workbench)
workbench->priv->navigation_list = g_object_new (GB_TYPE_NAVIGATION_LIST,
"workbench", workbench,
NULL);
- workbench->priv->actions = gb_workbench_actions_new (workbench);
- gtk_widget_insert_action_group (GTK_WIDGET (workbench),
- "workbench",
- G_ACTION_GROUP (workbench->priv->actions));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]