[gnome-builder/wip/new-workspace] project-tree: setup project tree using new workspace layout
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/new-workspace] project-tree: setup project tree using new workspace layout
- Date: Sat, 6 Jun 2015 02:33:01 +0000 (UTC)
commit 4e431bf12273c4e9926ff2189c30c4f5028c5d8a
Author: Christian Hergert <christian hergert me>
Date: Fri Jun 5 19:21:05 2015 -0700
project-tree: setup project tree using new workspace layout
data/ui/gb-workbench.ui | 4 ----
src/workbench/gb-workbench.c | 2 ++
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/data/ui/gb-workbench.ui b/data/ui/gb-workbench.ui
index 6f9eaf7..20b6cd3 100644
--- a/data/ui/gb-workbench.ui
+++ b/data/ui/gb-workbench.ui
@@ -103,10 +103,6 @@
<property name="headers-visible">false</property>
<property name="vexpand">true</property>
<property name="visible">true</property>
- <child type="builder">
- <object class="GbProjectTreeBuilder">
- </object>
- </child>
</object>
<packing>
<property name="icon-name">folder-symbolic</property>
diff --git a/src/workbench/gb-workbench.c b/src/workbench/gb-workbench.c
index 18ffa90..adbb12c 100644
--- a/src/workbench/gb-workbench.c
+++ b/src/workbench/gb-workbench.c
@@ -115,6 +115,8 @@ gb_workbench_connect_context (GbWorkbench *self,
g_assert (GB_IS_WORKBENCH (self));
g_assert (IDE_IS_CONTEXT (context));
+ gb_project_tree_set_context (self->project_tree, context);
+
project = ide_context_get_project (context);
self->project_notify_name_handler =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]