[gtk+] inspector: Avoid pointless selections
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] inspector: Avoid pointless selections
- Date: Sat, 5 Mar 2016 05:35:53 +0000 (UTC)
commit 251810ff404bb8c96dfcbcd7f51bbf305e49475c
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Mar 5 00:35:08 2016 -0500
inspector: Avoid pointless selections
The CSS selector and the class hierarchy are purely
informative, no need to select anything here.
gtk/inspector/object-hierarchy.ui | 5 +++++
gtk/inspector/selector.ui | 5 +++++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/gtk/inspector/object-hierarchy.ui b/gtk/inspector/object-hierarchy.ui
index 12c6352..7db49b1 100644
--- a/gtk/inspector/object-hierarchy.ui
+++ b/gtk/inspector/object-hierarchy.ui
@@ -30,6 +30,11 @@
<property name="enable-tree-lines">1</property>
<property name="show-expanders">0</property>
<property name="level-indentation">18</property>
+ <child internal-child="selection">
+ <object class="GtkTreeSelection">
+ <property name="mode">none</property>
+ </object>
+ </child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="yes">Class Hierarchy</property>
diff --git a/gtk/inspector/selector.ui b/gtk/inspector/selector.ui
index acd8f01..2358bba 100644
--- a/gtk/inspector/selector.ui
+++ b/gtk/inspector/selector.ui
@@ -29,6 +29,11 @@
<property name="enable-search">False</property>
<property name="show-expanders">False</property>
<property name="level-indentation">18</property>
+ <child internal-child="selection">
+ <object class="GtkTreeSelection">
+ <property name="mode">none</property>
+ </object>
+ </child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="yes">Selector</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]