summaryrefslogtreecommitdiff
path: root/svx/uiconfig
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2021-01-29 14:51:56 +0900
committerTomaž Vajngerl <quikee@gmail.com>2021-02-05 10:36:39 +0100
commit650b1718b25f3446c1e1ff487534ae18156d9c0a (patch)
treec520862618a70f9cdc78470239034a815621caf8 /svx/uiconfig
parent47448aaff96536fa76588ee6de4164109df5d420 (diff)
devtools: change "Current Selection" tree item to a toggle button
It is a bit awkward that the selection is a tree item so this changes it to be a toogle button, which when enabled, shows the object in the right-hand side object inspector and disables the left-hand side DOM object tree view in this case. Change-Id: I4ebd03a39c72109f0545206354aa7dbe85e9649a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110119 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx/uiconfig')
-rw-r--r--svx/uiconfig/ui/developmenttool.ui18
1 files changed, 13 insertions, 5 deletions
diff --git a/svx/uiconfig/ui/developmenttool.ui b/svx/uiconfig/ui/developmenttool.ui
index 2b00a83f5142..8310d0fffae8 100644
--- a/svx/uiconfig/ui/developmenttool.ui
+++ b/svx/uiconfig/ui/developmenttool.ui
@@ -8,10 +8,6 @@
<column type="gchararray"/>
<!-- column-name id -->
<column type="gchararray"/>
- <!-- column-name weight1 -->
- <column type="gint"/>
- <!-- column-name sensitive1 -->
- <column type="gboolean"/>
</columns>
</object>
<object class="GtkTreeStore" id="liststore1">
@@ -36,7 +32,7 @@
<property name="position">800</property>
<property name="wide-handle">True</property>
<child>
- <!-- n-columns=1 n-rows=1 -->
+ <!-- n-columns=1 n-rows=2 -->
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can-focus">False</property>
@@ -82,6 +78,18 @@
</object>
<packing>
<property name="left-attach">0</property>
+ <property name="top-attach">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToggleButton" id="selection_toggle">
+ <property name="label" translatable="yes" context="developmenttool|selection_toggle">Current Selection</property>
+ <property name="visible">True</property>
+ <property name="can-focus">True</property>
+ <property name="receives-default">True</property>
+ </object>
+ <packing>
+ <property name="left-attach">0</property>
<property name="top-attach">0</property>
</packing>
</child>