diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-03-23 10:12:15 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-03-24 20:36:24 +0100 |
commit | 4f28ca3e16de71e279fc54cd4a95e8181479c263 (patch) | |
tree | acd1bd3320e735629817e10394aece7cf94e1f39 /chart2/uiconfig/ui | |
parent | 2521c3032350a0383a82e302b1dcb4e91db518ec (diff) |
tdf#141191 use plain GtkComboBoxText for standard case
Change-Id: I0afa3c59737eb44a8775f2958ebf2fc813b23af9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112979
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'chart2/uiconfig/ui')
-rw-r--r-- | chart2/uiconfig/ui/tp_Trendline.ui | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/chart2/uiconfig/ui/tp_Trendline.ui b/chart2/uiconfig/ui/tp_Trendline.ui index 9b16231f7b46..af630ba12137 100644 --- a/chart2/uiconfig/ui/tp_Trendline.ui +++ b/chart2/uiconfig/ui/tp_Trendline.ui @@ -332,10 +332,14 @@ </packing> </child> <child> - <object class="GtkComboBox" id="combo_moving_type"> + <object class="GtkComboBoxText" id="combo_moving_type"> <property name="visible">True</property> <property name="can-focus">False</property> - <property name="model">liststore_moving_type</property> + <items> + <item translatable="yes" context="tp_Trendline|liststore_moving_type">Prior</item> + <item translatable="yes" context="tp_Trendline|liststore_moving_type">Central</item> + <item translatable="yes" context="tp_Trendline|liststore_moving_type">Averaged Abscissa</item> + </items> </object> <packing> <property name="left-attach">2</property> @@ -698,21 +702,4 @@ <property name="step-increment">1</property> <property name="page-increment">10</property> </object> - <object class="GtkListStore" id="liststore_moving_type"> - <columns> - <!-- column-name moving_type --> - <column type="gchararray"/> - </columns> - <data> - <row> - <col id="0" translatable="yes" context="tp_Trendline|liststore_moving_type">Prior</col> - </row> - <row> - <col id="0" translatable="yes" context="tp_Trendline|liststore_moving_type">Central</col> - </row> - <row> - <col id="0" translatable="yes" context="tp_Trendline|liststore_moving_type">Averaged Abscissa</col> - </row> - </data> - </object> </interface> |