[gnome-builder] symbol-tree: always expand the tree



commit 751058fede23fa6c5842615e6d9578216553c7fb
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Sat Jul 29 15:11:31 2017 +0200

    symbol-tree: always expand the tree
    
    By default, the tree nodes are builded lazyly and async using
    a signal dispatched by the main loop, this make it hard
    to use gtk_tree_view_expand_all.
    
    We use the new construct-time "always-expand" DzlTree property
    to provide easily the same effet as we always want the symbol tree
    to be expanded.
    .

 plugins/symbol-tree/gbp-symbol-menu-button.ui |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/symbol-tree/gbp-symbol-menu-button.ui b/plugins/symbol-tree/gbp-symbol-menu-button.ui
index 1363702..5ae4866 100644
--- a/plugins/symbol-tree/gbp-symbol-menu-button.ui
+++ b/plugins/symbol-tree/gbp-symbol-menu-button.ui
@@ -40,6 +40,7 @@
               <object class="DzlTree" id="tree">
                 <property name="level-indentation">16</property>
                 <property name="headers-visible">false</property>
+                <property name="always-expand">true</property>
                 <property name="show-icons">true</property>
                 <property name="activate-on-single-click">true</property>
                 <property name="visible">true</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]