[Libreoffice-commits] core.git: svx/source svx/uiconfig

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Jan 26 17:33:44 UTC 2021


 svx/source/devtools/DevelopmentToolDockingWindow.cxx |    3 +++
 svx/uiconfig/ui/developmenttool.ui                   |   13 +++++++++----
 2 files changed, 12 insertions(+), 4 deletions(-)

New commits:
commit 0bbb834a2d21597697333ee88573b2b8e5d43664
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jan 26 15:29:20 2021 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jan 26 18:33:09 2021 +0100

    fix gtk warning about missing 'weight' property
    
    Change-Id: Ifada66e27955c23eefb41852204fd99f6711a7bf
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109962
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svx/source/devtools/DevelopmentToolDockingWindow.cxx b/svx/source/devtools/DevelopmentToolDockingWindow.cxx
index c09bc4035c6e..65e4d140cf0e 100644
--- a/svx/source/devtools/DevelopmentToolDockingWindow.cxx
+++ b/svx/source/devtools/DevelopmentToolDockingWindow.cxx
@@ -177,6 +177,7 @@ void DevelopmentToolDockingWindow::introspect(uno::Reference<uno::XInterface> co
     {
         mpClassListBox->insert(pParent.get(), -1, &aServiceName, nullptr, nullptr, nullptr, false,
                                pResult.get());
+        mpClassListBox->set_text_emphasis(*pResult, false, 0);
     }
 
     uno::Reference<beans::XIntrospection> xIntrospection;
@@ -196,6 +197,7 @@ void DevelopmentToolDockingWindow::introspect(uno::Reference<uno::XInterface> co
     {
         mpClassListBox->insert(pParent.get(), -1, &xProperty.Name, nullptr, nullptr, nullptr, false,
                                pResult.get());
+        mpClassListBox->set_text_emphasis(*pResult, false, 0);
     }
 
     OUString aMethodsString("Methods");
@@ -209,6 +211,7 @@ void DevelopmentToolDockingWindow::introspect(uno::Reference<uno::XInterface> co
         OUString aMethodName = xMethod->getName();
         mpClassListBox->insert(pParent.get(), -1, &aMethodName, nullptr, nullptr, nullptr, false,
                                pResult.get());
+        mpClassListBox->set_text_emphasis(*pResult, false, 0);
     }
 
     mpClassListBox->thaw();
diff --git a/svx/uiconfig/ui/developmenttool.ui b/svx/uiconfig/ui/developmenttool.ui
index 948fe76386ae..2b00a83f5142 100644
--- a/svx/uiconfig/ui/developmenttool.ui
+++ b/svx/uiconfig/ui/developmenttool.ui
@@ -4,13 +4,19 @@
   <requires lib="gtk+" version="3.20"/>
   <object class="GtkTreeStore" id="liststore">
     <columns>
-      <!-- column-name class_column -->
+      <!-- column-name text -->
       <column type="gchararray"/>
+      <!-- column-name id -->
+      <column type="gchararray"/>
+      <!-- column-name weight1 -->
+      <column type="gint"/>
+      <!-- column-name sensitive1 -->
+      <column type="gboolean"/>
     </columns>
   </object>
   <object class="GtkTreeStore" id="liststore1">
     <columns>
-      <!-- column-name object_column -->
+      <!-- column-name text -->
       <column type="gchararray"/>
       <!-- column-name id -->
       <column type="gchararray"/>
@@ -157,9 +163,8 @@
                             <property name="ellipsize">end</property>
                           </object>
                           <attributes>
-                            <attribute name="sensitive">5</attribute>
                             <attribute name="text">0</attribute>
-                            <attribute name="weight">3</attribute>
+                            <attribute name="weight">2</attribute>
                           </attributes>
                         </child>
                       </object>


More information about the Libreoffice-commits mailing list