summaryrefslogtreecommitdiff
path: root/cui/uiconfig/ui/diagramdialog.ui
diff options
context:
space:
mode:
authorGrzegorz Araminowicz <grzegorz.araminowicz@collabora.com>2019-08-27 08:47:26 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-08-27 15:05:24 +0200
commitfae4eb717427f542305d2978f5fa78cbf27eaafa (patch)
tree1dfb2a8f8a4f14aca442745deb62632ab81933cb /cui/uiconfig/ui/diagramdialog.ui
parent423d16487b6d8bc048f546017da3b8274bc289cf (diff)
SmartArt edit UI: change plain text widget to tree view
Added getChildren() data interface method, so that it's possible to recursively fill tree view with (id, text) pairs Change-Id: Ic100ded3a3e125bf79f5caa421cd8f91e5210954 Reviewed-on: https://gerrit.libreoffice.org/78169 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'cui/uiconfig/ui/diagramdialog.ui')
-rw-r--r--cui/uiconfig/ui/diagramdialog.ui7
1 files changed, 6 insertions, 1 deletions
diff --git a/cui/uiconfig/ui/diagramdialog.ui b/cui/uiconfig/ui/diagramdialog.ui
index 6b6c888808df..000f340f028a 100644
--- a/cui/uiconfig/ui/diagramdialog.ui
+++ b/cui/uiconfig/ui/diagramdialog.ui
@@ -53,9 +53,14 @@
</packing>
</child>
<child>
- <object class="GtkTextView" id="textDiagram">
+ <object class="GtkTreeView" id="treeDiagram">
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <property name="headers_visible">False</property>
+ <property name="show_expanders">True</property>
+ <child internal-child="selection">
+ <object class="GtkTreeSelection"/>
+ </child>
</object>
<packing>
<property name="expand">True</property>