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@redhat.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user