[gnome-builder/wip/plugins: 10/36] project-tree: setup project tree using new workspace layout



commit 4ab20a31ae31df8bb3ff9046ef88a6cd2123219f
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]