Index: channels/configwin.py ================================================================== --- channels/configwin.py +++ channels/configwin.py @@ -157,11 +157,13 @@ cb.get_child().set_use_markup(True) desc = None # drop down list elif type in ("select", "choose", "options"): - cb = ComboBoxText(ComboBoxText.parse_options(opt.get("select"))) # custom uikit widget + if opt.get("select") is str: + opt["select"] = ComboBoxText.parse_options(opt.get("select")) # redundant with pluginconf >= 0.7.2 + cb = ComboBoxText(opt["select"]) # custom uikit widget # numeric elif type in ("int", "integer", "numeric"): adj = gtk.Adjustment(0, 0, int(opt.get("max", 5000)), 1, 10, 0) if ver == 2: @@ -170,11 +172,11 @@ cb = gtk.SpinButton() cb.set_adjustment(adj) cb.set_digits(0) # ListView - elif opt["type"] in ("list", "table", "array", "dict"): + elif type in ("list", "table", "array", "dict"): cb, ls = uikit.config_treeview(opt, opt.get("columns", "Key,Value").split(",")) pack_("cfgui_tv", cb, "", None, opt=opt) self.widgets["config_" + opt["name"]] = ls pack_({}, uikit.label("%s" % desc, markup=True, size=455)) continue