206
206
from gi.repository import Gtk, GObject
207
207
PageBase.set_language_choices(self, choices, choice_map)
208
208
list_store = Gtk.ListStore.new([GObject.TYPE_STRING])
210
212
list_store.append([choice])
211
221
# Support both iconview and treeview
213
223
self.iconview.set_model(list_store)
214
224
self.iconview.set_text_column(0)
219
229
if len(self.treeview.get_columns()) < 1:
220
230
column = Gtk.TreeViewColumn(None, Gtk.CellRendererText(), text=0)