[Libreoffice-commits] core.git: cui/uiconfig

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Sep 13 07:21:10 UTC 2019


 cui/uiconfig/ui/diagramdialog.ui |   43 ++++++++++++++++++++++++++++++++++-----
 1 file changed, 38 insertions(+), 5 deletions(-)

New commits:
commit a029ca4dbdeb7bad0ffec500f1117f71bacaa81a
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Sep 12 22:22:37 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Sep 13 09:20:20 2019 +0200

    add missing model to treeview
    
    Change-Id: Idf268ea30da1b80d9418419b2336979685d7cf8c
    Reviewed-on: https://gerrit.libreoffice.org/78858
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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>


More information about the Libreoffice-commits mailing list