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 /sfx2/uiconfig | |
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 'sfx2/uiconfig')
-rw-r--r-- | sfx2/uiconfig/ui/loadtemplatedialog.ui | 4 | ||||
-rw-r--r-- | sfx2/uiconfig/ui/newstyle.ui | 2 | ||||
-rw-r--r-- | sfx2/uiconfig/ui/saveastemplatedlg.ui | 7 | ||||
-rw-r--r-- | sfx2/uiconfig/ui/templatecategorydlg.ui | 7 |
4 files changed, 5 insertions, 15 deletions
diff --git a/sfx2/uiconfig/ui/loadtemplatedialog.ui b/sfx2/uiconfig/ui/loadtemplatedialog.ui index 43298345224d..5c3fecf13ac0 100644 --- a/sfx2/uiconfig/ui/loadtemplatedialog.ui +++ b/sfx2/uiconfig/ui/loadtemplatedialog.ui @@ -2,7 +2,7 @@ <!-- Generated with glade 3.20.2 --> <interface domain="sfx"> <requires lib="gtk+" version="3.18"/> - <object class="GtkListStore" id="liststore1"> + <object class="GtkTreeStore" id="liststore1"> <columns> <!-- column-name text --> <column type="gchararray"/> @@ -10,7 +10,7 @@ <column type="gchararray"/> </columns> </object> - <object class="GtkListStore" id="liststore2"> + <object class="GtkTreeStore" id="liststore2"> <columns> <!-- column-name text --> <column type="gchararray"/> diff --git a/sfx2/uiconfig/ui/newstyle.ui b/sfx2/uiconfig/ui/newstyle.ui index bd22a8762eda..9761b0047d7c 100644 --- a/sfx2/uiconfig/ui/newstyle.ui +++ b/sfx2/uiconfig/ui/newstyle.ui @@ -2,7 +2,7 @@ <!-- Generated with glade 3.22.1 --> <interface domain="sfx"> <requires lib="gtk+" version="3.18"/> - <object class="GtkListStore" id="liststore1"> + <object class="GtkTreeStore" id="liststore1"> <columns> <!-- column-name text --> <column type="gchararray"/> diff --git a/sfx2/uiconfig/ui/saveastemplatedlg.ui b/sfx2/uiconfig/ui/saveastemplatedlg.ui index 9362b981a5f2..8566b32d2555 100644 --- a/sfx2/uiconfig/ui/saveastemplatedlg.ui +++ b/sfx2/uiconfig/ui/saveastemplatedlg.ui @@ -2,16 +2,11 @@ <!-- Generated with glade 3.20.0 --> <interface domain="sfx"> <requires lib="gtk+" version="3.18"/> - <object class="GtkListStore" id="categorylist"> + <object class="GtkTreeStore" id="categorylist"> <columns> <!-- column-name gchararray1 --> <column type="gchararray"/> </columns> - <data> - <row> - <col id="0" translatable="yes" context="saveastemplatedlg|categorylist">None</col> - </row> - </data> </object> <object class="GtkDialog" id="SaveAsTemplateDialog"> <property name="can_focus">False</property> diff --git a/sfx2/uiconfig/ui/templatecategorydlg.ui b/sfx2/uiconfig/ui/templatecategorydlg.ui index 106c5a1a03cb..7641e4ebd702 100644 --- a/sfx2/uiconfig/ui/templatecategorydlg.ui +++ b/sfx2/uiconfig/ui/templatecategorydlg.ui @@ -2,18 +2,13 @@ <!-- Generated with glade 3.20.0 --> <interface domain="sfx"> <requires lib="gtk+" version="3.18"/> - <object class="GtkListStore" id="categorylist"> + <object class="GtkTreeStore" id="categorylist"> <columns> <!-- column-name text --> <column type="gchararray"/> <!-- column-name id --> <column type="gchararray"/> </columns> - <data> - <row> - <col id="0" translatable="yes" context="templatecategorydlg|categorylist">None</col> - </row> - </data> </object> <object class="GtkDialog" id="TemplatesCategoryDialog"> <property name="can_focus">False</property> |