diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-09-12 22:22:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-09-13 09:20:20 +0200 |
commit | a029ca4dbdeb7bad0ffec500f1117f71bacaa81a (patch) | |
tree | cc328a27c3544d2101b87aec41a7fafe4e671138 /cui | |
parent | e1ec771c60d1fe03651b24f938589863c3882bc8 (diff) |
add missing model to treeview
Change-Id: Idf268ea30da1b80d9418419b2336979685d7cf8c
Reviewed-on: https://gerrit.libreoffice.org/78858
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/uiconfig/ui/diagramdialog.ui | 43 |
1 files changed, 38 insertions, 5 deletions
diff --git a/cui/uiconfig/ui/diagramdialog.ui b/cui/uiconfig/ui/diagramdialog.ui index c52376f0b3a3..98a67717209a 100644 --- a/cui/uiconfig/ui/diagramdialog.ui +++ b/cui/uiconfig/ui/diagramdialog.ui @@ -2,6 +2,14 @@ <!-- Generated with glade 3.22.1 --> <interface domain="cui"> <requires lib="gtk+" version="3.18"/> + <object class="GtkTreeStore" id="liststore1"> + <columns> + <!-- column-name text --> + <column type="gchararray"/> + <!-- column-name id --> + <column type="gchararray"/> + </columns> + </object> <object class="GtkDialog" id="DiagramDialog"> <property name="can_focus">False</property> <property name="type_hint">dialog</property> @@ -53,12 +61,37 @@ </packing> </child> <child> - <object class="GtkTreeView" id="treeDiagram"> + <object class="GtkScrolledWindow"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="headers_visible">False</property> - <child internal-child="selection"> - <object class="GtkTreeSelection"/> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="shadow_type">in</property> + <child> + <object class="GtkTreeView" id="treeDiagram"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="model">liststore1</property> + <property name="headers_visible">False</property> + <property name="headers_clickable">False</property> + <property name="search_column">0</property> + <property name="show_expanders">False</property> + <child internal-child="selection"> + <object class="GtkTreeSelection" id="treeview-selection1"/> + </child> + <child> + <object class="GtkTreeViewColumn" id="treeviewcolumn1"> + <child> + <object class="GtkCellRendererText" id="cellrenderertext1"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + </child> + </object> </child> </object> <packing> @@ -110,4 +143,4 @@ <action-widget response="-6">btnCancel</action-widget> </action-widgets> </object> -</interface>
\ No newline at end of file +</interface> |