diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-11-05 21:01:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-11-19 12:09:25 +0100 |
commit | 97bbffc917deba872090667e9dc096ecec99d557 (patch) | |
tree | 672bff54843461ff30270a11b726c1a48eea50cd /cui/uiconfig/ui/numberingformatpage.ui | |
parent | 5b3592a42cc88a225237efadcc4d110be307303e (diff) |
weld TreeView
a) use GtkTreeStores for GtkTreeViews
b) ironically can't store GtkTreeStore contents in .ui apparently
c) set show_expanders for all non-trees and unconverted cases
d) on-demand subtrees
Change-Id: I3c1036a222daba2c129b1a22ffeb3fe35005ae31
Reviewed-on: https://gerrit.libreoffice.org/63336
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/uiconfig/ui/numberingformatpage.ui')
-rw-r--r-- | cui/uiconfig/ui/numberingformatpage.ui | 49 |
1 files changed, 11 insertions, 38 deletions
diff --git a/cui/uiconfig/ui/numberingformatpage.ui b/cui/uiconfig/ui/numberingformatpage.ui index 060a02b442ab..e454bbdd2aa0 100644 --- a/cui/uiconfig/ui/numberingformatpage.ui +++ b/cui/uiconfig/ui/numberingformatpage.ui @@ -32,48 +32,21 @@ <property name="can_focus">False</property> <property name="icon_name">svx/res/nu03.png</property> </object> - <object class="GtkListStore" id="liststore1"> + <object class="GtkTreeStore" id="liststore1"> <columns> - <!-- column-name gchararray1 --> + <!-- column-name text --> + <column type="gchararray"/> + <!-- column-name id --> <column type="gchararray"/> + <!-- column-name image --> + <column type="GdkPixbuf"/> + <!-- column-name image --> + <column type="CairoSurface"/> + <!-- column-name textcolor --> + <column type="GdkRGBA"/> </columns> - <data> - <row> - <col id="0" translatable="yes" context="numberingformatpage|liststore1">All</col> - </row> - <row> - <col id="0" translatable="yes" context="numberingformatpage|liststore1">User-defined</col> - </row> - <row> - <col id="0" translatable="yes" context="numberingformatpage|liststore1">Number</col> - </row> - <row> - <col id="0" translatable="yes" context="numberingformatpage|liststore1">Percent</col> - </row> - <row> - <col id="0" translatable="yes" context="numberingformatpage|liststore1">Currency</col> - </row> - <row> - <col id="0" translatable="yes" context="numberingformatpage|liststore1">Date</col> - </row> - <row> - <col id="0" translatable="yes" context="numberingformatpage|liststore1">Time</col> - </row> - <row> - <col id="0" translatable="yes" context="numberingformatpage|liststore1">Scientific</col> - </row> - <row> - <col id="0" translatable="yes" context="numberingformatpage|liststore1">Fraction</col> - </row> - <row> - <col id="0" translatable="yes" context="numberingformatpage|liststore1">Boolean Value</col> - </row> - <row> - <col id="0" translatable="yes" context="numberingformatpage|liststore1">Text</col> - </row> - </data> </object> - <object class="GtkListStore" id="liststore3"> + <object class="GtkTreeStore" id="liststore3"> <columns> <!-- column-name text --> <column type="gchararray"/> |