tdf#135568 an unexpected model for a GtkComboBox

Change-Id: I5d4ec47fe6dcce4c4f0891fae22ed4b44796a270
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100437
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara
2020-08-10 15:37:29 +01:00
parent f9eea76438
commit 386add495b

View File

@@ -1,28 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.36.0 -->
<interface domain="chart">
<requires lib="gtk+" version="3.18"/>
<object class="GtkListStore" id="liststoreSCHEME">
<columns>
<!-- column-name gchararray1 -->
<column type="gchararray"/>
<!-- column-name guint1 -->
<column type="guint"/>
</columns>
<data>
<row>
<col id="0" translatable="yes" context="tp_3D_SceneAppearance|liststoreSCHEME">Simple</col>
<col id="1">0</col>
</row>
<row>
<col id="0" translatable="yes" context="tp_3D_SceneAppearance|liststoreSCHEME">Realistic</col>
<col id="1">1</col>
</row>
<row>
<col id="0" translatable="yes" context="tp_3D_SceneAppearance|liststoreSCHEME">Custom</col>
<col id="1">2</col>
</row>
</data>
</object>
<object class="GtkBox" id="tp_3D_SceneAppearance">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -38,10 +17,10 @@
<object class="GtkLabel" id="FT_SCHEME">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="yes" context="tp_3D_SceneAppearance|FT_SCHEME">Sche_me</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">LB_SCHEME</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
@@ -50,10 +29,14 @@
</packing>
</child>
<child>
<object class="GtkComboBox" id="LB_SCHEME">
<object class="GtkComboBoxText" id="LB_SCHEME">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="model">liststoreSCHEME</property>
<items>
<item id="0" translatable="yes" context="tp_3D_SceneAppearance|liststoreSCHEME">Simple</item>
<item id="1" translatable="yes" context="tp_3D_SceneAppearance|liststoreSCHEME">Realistic</item>
<item id="2" translatable="yes" context="tp_3D_SceneAppearance|liststoreSCHEME">Custom</item>
</items>
</object>
<packing>
<property name="expand">False</property>