svn: r3354
This commit is contained in:
Don Allingham
2004-08-07 03:11:04 +00:00
parent 0843d5033a
commit cddd8ed8af
4 changed files with 37 additions and 29 deletions

View File

@ -56,12 +56,11 @@ def fill_entry(entry,data_list):
def fill_option_text(combobox,data):
typelist = []
store = gtk.ListStore(*[gobject.TYPE_STRING])
store = gtk.ListStore(gobject.TYPE_STRING)
cell = gtk.CellRendererText()
combobox.pack_start(cell,gtk.TRUE)
combobox.add_attribute(cell,'text',0)
for item in data:
print item
store.append(row=[item])
combobox.set_model(store)
combobox.set_active(0)