[gnome-builder] build-panel: don't allow selections on treeview



commit 9d91eae433987f5f68a9a9d0569cdba65880dfe7
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jul 6 14:53:47 2017 -0700

    build-panel: don't allow selections on treeview
    
    These shouldn't stay selected because selections indicate
    current position. And as soon as you move the cursor that
    would be invalid.

 libide/buildui/ide-build-panel.ui |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/libide/buildui/ide-build-panel.ui b/libide/buildui/ide-build-panel.ui
index 706097e..4950c24 100644
--- a/libide/buildui/ide-build-panel.ui
+++ b/libide/buildui/ide-build-panel.ui
@@ -90,6 +90,11 @@
                   <object class="IdeFancyTreeView" id="warnings_tree_view">
                     <property name="has-tooltip">true</property>
                     <property name="visible">true</property>
+                    <child internal-child="selection">
+                      <object class="GtkTreeSelection">
+                        <property name="mode">none</property>
+                      </object>
+                    </child>
                   </object>
                 </child>
               </object>
@@ -106,6 +111,11 @@
                   <object class="IdeFancyTreeView" id="errors_tree_view">
                     <property name="has-tooltip">true</property>
                     <property name="visible">true</property>
+                    <child internal-child="selection">
+                      <object class="GtkTreeSelection">
+                        <property name="mode">none</property>
+                      </object>
+                    </child>
                   </object>
                 </child>
               </object>


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