diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-08-10 15:37:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-08-10 17:40:28 +0200 |
commit | e61e4ec53ad54a17a1726220f1dbe12ee3307e7b (patch) | |
tree | 7f34b8570a6f650226ec86f863d03b3f000e2b63 | |
parent | ad3813c0ab5303625cda7d04ebe6a6b48712255d (diff) |
tdf#135568 an unexpected model for a GtkComboBox
Change-Id: I5d4ec47fe6dcce4c4f0891fae22ed4b44796a270
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100360
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | chart2/uiconfig/ui/tp_3D_SceneAppearance.ui | 33 |
1 files changed, 8 insertions, 25 deletions
diff --git a/chart2/uiconfig/ui/tp_3D_SceneAppearance.ui b/chart2/uiconfig/ui/tp_3D_SceneAppearance.ui index a214ebe21247..6cf5681f3771 100644 --- a/chart2/uiconfig/ui/tp_3D_SceneAppearance.ui +++ b/chart2/uiconfig/ui/tp_3D_SceneAppearance.ui @@ -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> |