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

New commits:
commit 883607d55154eadbc4fa8d1920500af1060ee69e
Author:     Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk>
AuthorDate: Thu Feb 18 11:58:15 2021 +0900
Commit:     Tomaž Vajngerl <qui...@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 <qui...@gmail.com>
    Reviewed-by: Tomaž Vajngerl <qui...@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>
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to