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

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Fri Mar 26 13:26:33 UTC 2021


 sfx2/uiconfig/ui/developmenttool.ui |   25 +++++--------------------
 1 file changed, 5 insertions(+), 20 deletions(-)

New commits:
commit ed62bbc71a8469fe74a699528398326e551e7301
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Fri Mar 26 19:19:04 2021 +0900
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Fri Mar 26 14:25:55 2021 +0100

    devtools: move UI root element from GtkGrid to GtkBox
    
    This triggered an assert in VclBuilder where it expects a weld::Box
    and not weld::Grid when accessing the root.
    
    Change-Id: Ifc0d7c7e8d52c5383aecd9814329e10bf55e6c89
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113151
    Tested-by: Mike Kaganski <mike.kaganski at collabora.com>
    Tested-by: Tomaž Vajngerl <quikee at gmail.com>
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/sfx2/uiconfig/ui/developmenttool.ui b/sfx2/uiconfig/ui/developmenttool.ui
index b73ad19bbe68..20ba9fbaa2ad 100644
--- a/sfx2/uiconfig/ui/developmenttool.ui
+++ b/sfx2/uiconfig/ui/developmenttool.ui
@@ -55,11 +55,10 @@
       <column type="gchararray"/>
     </columns>
   </object>
-  <!-- n-columns=1 n-rows=1 -->
-  <object class="GtkGrid" id="DevelopmentTool">
+  <object class="GtkBox" id="DevelopmentTool">
     <property name="visible">True</property>
     <property name="can-focus">False</property>
-    <property name="halign">baseline</property>
+    <property name="orientation">vertical</property>
     <child>
       <object class="GtkPaned">
         <property name="visible">True</property>
@@ -96,9 +95,6 @@
                     <property name="model">liststore1</property>
                     <property name="search-column">0</property>
                     <property name="enable-tree-lines">True</property>
-                    <child internal-child="selection">
-                      <object class="GtkTreeSelection"/>
-                    </child>
                     <child>
                       <object class="GtkTreeViewColumn" id="treecolumn">
                         <property name="resizable">True</property>
@@ -321,9 +317,6 @@
                             <property name="model">object_inspector_interfaces_liststore</property>
                             <property name="search-column">0</property>
                             <property name="enable-tree-lines">True</property>
-                            <child internal-child="selection">
-                              <object class="GtkTreeSelection"/>
-                            </child>
                             <child>
                               <object class="GtkTreeViewColumn" id="interfaces_treeviewcolumn1">
                                 <property name="resizable">True</property>
@@ -370,9 +363,6 @@
                             <property name="model">object_inspector_services_liststore</property>
                             <property name="search-column">0</property>
                             <property name="enable-tree-lines">True</property>
-                            <child internal-child="selection">
-                              <object class="GtkTreeSelection"/>
-                            </child>
                             <child>
                               <object class="GtkTreeViewColumn" id="services_treeviewcolumn1">
                                 <property name="resizable">True</property>
@@ -423,9 +413,6 @@
                             <property name="model">object_inspector_properties_liststore</property>
                             <property name="search-column">0</property>
                             <property name="enable-tree-lines">True</property>
-                            <child internal-child="selection">
-                              <object class="GtkTreeSelection"/>
-                            </child>
                             <child>
                               <object class="GtkTreeViewColumn" id="properties_treeviewcolumn1">
                                 <property name="resizable">True</property>
@@ -521,9 +508,6 @@
                             <property name="model">object_inspector_methods_liststore</property>
                             <property name="search-column">0</property>
                             <property name="enable-tree-lines">True</property>
-                            <child internal-child="selection">
-                              <object class="GtkTreeSelection"/>
-                            </child>
                             <child>
                               <object class="GtkTreeViewColumn" id="methods_treeviewcolumn1">
                                 <property name="resizable">True</property>
@@ -645,8 +629,9 @@
         </child>
       </object>
       <packing>
-        <property name="left-attach">0</property>
-        <property name="top-attach">0</property>
+        <property name="expand">False</property>
+        <property name="fill">True</property>
+        <property name="position">0</property>
       </packing>
     </child>
   </object>


More information about the Libreoffice-commits mailing list