diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2017-12-10 15:31:02 +0100 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2017-12-12 14:44:57 +0100 |
commit | 9807290ccb87c0901a53f885a81a6aab93181f1d (patch) | |
tree | 697e76e9652cdda51eeaa3f3788bdb784f1afc22 /sw/uiconfig | |
parent | 4fe154d6e068aa9accdb64e8ebd4d1491b6c94f9 (diff) |
tdf#113959 Use svxlo-FrameDirectionListBox instead of ListBox
Final part. Here frmaddpage.ui is migrated, but to reuse the 2
other strings we need to shake up their original place in page.cxx
Now all the stings are moved to svx and occur only once in the code base.
Change-Id: I8b3942f96d43bf8d6f054c8410c3781bcefc3ccc
Reviewed-on: https://gerrit.libreoffice.org/46189
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'sw/uiconfig')
-rw-r--r-- | sw/uiconfig/swriter/ui/frmaddpage.ui | 35 |
1 files changed, 2 insertions, 33 deletions
diff --git a/sw/uiconfig/swriter/ui/frmaddpage.ui b/sw/uiconfig/swriter/ui/frmaddpage.ui index caa443dd8549..135a0823f777 100644 --- a/sw/uiconfig/swriter/ui/frmaddpage.ui +++ b/sw/uiconfig/swriter/ui/frmaddpage.ui @@ -24,36 +24,6 @@ </row> </data> </object> - <object class="GtkListStore" id="liststore1"> - <columns> - <!-- column-name gchararray1 --> - <column type="gchararray"/> - <!-- column-name gint1 --> - <column type="gint"/> - </columns> - <data> - <row> - <col id="0" translatable="yes" context="frmaddpage|liststore1">Left-to-right</col> - <col id="1">0</col> - </row> - <row> - <col id="0" translatable="yes" context="frmaddpage|liststore1">Right-to-left</col> - <col id="1">1</col> - </row> - <row> - <col id="0" translatable="yes" context="frmaddpage|liststore1">Right-to-left (vertical)</col> - <col id="1">2</col> - </row> - <row> - <col id="0" translatable="yes" context="frmaddpage|liststore1">Left-to-right (vertical)</col> - <col id="1">3</col> - </row> - <row> - <col id="0" translatable="yes" context="frmaddpage|liststore1">Use superordinate object settings</col> - <col id="1">4</col> - </row> - </data> - </object> <object class="GtkTextBuffer" id="textbuffer1"> <property name="text"> @@ -489,10 +459,9 @@ </packing> </child> <child> - <object class="GtkComboBox" id="textflow"> + <object class="svxlo-FrameDirectionListBox" id="textflow"> <property name="can_focus">False</property> - <property name="no_show_all">True</property> - <property name="model">liststore1</property> + <property name="visible">True</property> </object> <packing> <property name="left_attach">1</property> |