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

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Mon Feb 22 05:29:10 UTC 2021


 sfx2/uiconfig/ui/developmenttool.ui |   73 ++++--------------------------------
 1 file changed, 9 insertions(+), 64 deletions(-)

New commits:
commit 883607d55154eadbc4fa8d1920500af1060ee69e
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Thu Feb 18 11:58:15 2021 +0900
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Mon Feb 22 06:28:23 2021 +0100

    devtools: rework columns for all categories in the inspector
    
    The columns for services and interfaces has been simplified to
    just "Name" column. For methods the columns have been changed to
    "Method", "Return Type" and "Parameters". The properties tree view
    remained unchanged.
    
    Change-Id: Ie8db69e11a3ea5aa289305017ed024d2d0d627da
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111093
    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 32423886558c..9dd110804991 100644
--- a/sfx2/uiconfig/ui/developmenttool.ui
+++ b/sfx2/uiconfig/ui/developmenttool.ui
@@ -14,10 +14,6 @@
     <columns>
       <!-- column-name text -->
       <column type="gchararray"/>
-      <!-- column-name value -->
-      <column type="gchararray"/>
-      <!-- column-name type -->
-      <column type="gchararray"/>
       <!-- column-name id -->
       <column type="gchararray"/>
     </columns>
@@ -26,9 +22,9 @@
     <columns>
       <!-- column-name text -->
       <column type="gchararray"/>
-      <!-- column-name value -->
+      <!-- column-name out -->
       <column type="gchararray"/>
-      <!-- column-name type -->
+      <!-- column-name in -->
       <column type="gchararray"/>
       <!-- column-name id -->
       <column type="gchararray"/>
@@ -50,10 +46,6 @@
     <columns>
       <!-- column-name text -->
       <column type="gchararray"/>
-      <!-- column-name value -->
-      <column type="gchararray"/>
-      <!-- column-name type -->
-      <column type="gchararray"/>
       <!-- column-name id -->
       <column type="gchararray"/>
     </columns>
@@ -104,7 +96,7 @@
                     <child>
                       <object class="GtkTreeViewColumn" id="treecolumn">
                         <property name="resizable">True</property>
-                        <property name="title" translatable="yes" context="developmenttool|leftside_objectcolumn">Object</property>
+                        <property name="title" translatable="yes" context="developmenttool|object">Object</property>
                         <child>
                           <object class="GtkCellRendererText" id="cellrenderertext2"/>
                           <attributes>
@@ -204,6 +196,7 @@
                         <property name="vexpand">True</property>
                         <property name="model">object_inspector_interfaces_liststore</property>
                         <property name="search-column">0</property>
+                        <property name="show-expanders">False</property>
                         <property name="enable-tree-lines">True</property>
                         <child internal-child="selection">
                           <object class="GtkTreeSelection"/>
@@ -211,7 +204,7 @@
                         <child>
                           <object class="GtkTreeViewColumn" id="treeviewcolumn4">
                             <property name="resizable">True</property>
-                            <property name="title" translatable="yes" context="developmenttool|object">Object</property>
+                            <property name="title" translatable="yes" context="developmenttool|name">Name</property>
                             <child>
                               <object class="GtkCellRendererText" id="obj_insp_cellrenderertext4"/>
                               <attributes>
@@ -220,30 +213,6 @@
                             </child>
                           </object>
                         </child>
-                        <child>
-                          <object class="GtkTreeViewColumn" id="treeviewcolumn5">
-                            <property name="resizable">True</property>
-                            <property name="title" translatable="yes" context="developmenttool|value">Value</property>
-                            <child>
-                              <object class="GtkCellRendererText" id="obj_insp_cellrenderertext5"/>
-                              <attributes>
-                                <attribute name="text">1</attribute>
-                              </attributes>
-                            </child>
-                          </object>
-                        </child>
-                        <child>
-                          <object class="GtkTreeViewColumn" id="treeviewcolumn6">
-                            <property name="resizable">True</property>
-                            <property name="title" translatable="yes" context="developmenttool|type">Type</property>
-                            <child>
-                              <object class="GtkCellRendererText" id="obj_insp_cellrenderertext6"/>
-                              <attributes>
-                                <attribute name="text">2</attribute>
-                              </attributes>
-                            </child>
-                          </object>
-                        </child>
                       </object>
                     </child>
                   </object>
@@ -281,7 +250,7 @@
                         <child>
                           <object class="GtkTreeViewColumn" id="treeviewcolumn7">
                             <property name="resizable">True</property>
-                            <property name="title" translatable="yes" context="developmenttool|object">Object</property>
+                            <property name="title" translatable="yes" context="developmenttool|name">Name</property>
                             <child>
                               <object class="GtkCellRendererText" id="obj_insp_cellrenderertext7"/>
                               <attributes>
@@ -290,30 +259,6 @@
                             </child>
                           </object>
                         </child>
-                        <child>
-                          <object class="GtkTreeViewColumn" id="treeviewcolumn8">
-                            <property name="resizable">True</property>
-                            <property name="title" translatable="yes" context="developmenttool|value">Value</property>
-                            <child>
-                              <object class="GtkCellRendererText" id="obj_insp_cellrenderertext8"/>
-                              <attributes>
-                                <attribute name="text">1</attribute>
-                              </attributes>
-                            </child>
-                          </object>
-                        </child>
-                        <child>
-                          <object class="GtkTreeViewColumn" id="treeviewcolumn9">
-                            <property name="resizable">True</property>
-                            <property name="title" translatable="yes" context="developmenttool|type">Type</property>
-                            <child>
-                              <object class="GtkCellRendererText" id="obj_insp_cellrenderertext9"/>
-                              <attributes>
-                                <attribute name="text">2</attribute>
-                              </attributes>
-                            </child>
-                          </object>
-                        </child>
                       </object>
                     </child>
                   </object>
@@ -429,7 +374,7 @@
                         <child>
                           <object class="GtkTreeViewColumn" id="treeviewcolumn10">
                             <property name="resizable">True</property>
-                            <property name="title" translatable="yes" context="developmenttool|object">Object</property>
+                            <property name="title" translatable="yes" context="developmenttool|method">Method</property>
                             <child>
                               <object class="GtkCellRendererText" id="obj_insp_cellrenderertext10"/>
                               <attributes>
@@ -441,7 +386,7 @@
                         <child>
                           <object class="GtkTreeViewColumn" id="treeviewcolumn11">
                             <property name="resizable">True</property>
-                            <property name="title" translatable="yes" context="developmenttool|value">Value</property>
+                            <property name="title" translatable="yes" context="developmenttool|returntype">Return Type</property>
                             <child>
                               <object class="GtkCellRendererText" id="obj_insp_cellrenderertext11"/>
                               <attributes>
@@ -453,7 +398,7 @@
                         <child>
                           <object class="GtkTreeViewColumn" id="treeviewcolumn12">
                             <property name="resizable">True</property>
-                            <property name="title" translatable="yes" context="developmenttool|type">Type</property>
+                            <property name="title" translatable="yes" context="developmenttool|parameters">Parameters</property>
                             <child>
                               <object class="GtkCellRendererText" id="obj_insp_cellrenderertext12"/>
                               <attributes>


More information about the Libreoffice-commits mailing list