Overview
Comment:typo
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA3-256: b9be77c869281e7773bd8d9d6797743c73d3d1b88e9c9dca56e587762f113a4a
User & Date: mario on 2023-10-26 22:56:17
Other Links: manifest | tags
Context
2023-10-26
22:56
typo Leaf check-in: b9be77c869 user: mario tags: trunk
21:45
precautionarily rewrap PluginMeta (for e.g. manually constructed plugins={} list) check-in: 8082a94a20 user: mario tags: trunk
Changes

Modified pluginconf/gui.py from [ab40f3573a] to [63d5a6ee39].

124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
            return [sg.Image(data=img_fn, **size)]
        if img_fn.find(".") > 0:
            return [sg.Image(filename=re.sub("[^/]+$", img_fn, pmd.fn), **size)]
    return []

def plugin_entry(pmd, plugin_states):
    """ checkbox for plugin name """
    if not instanceof(pmd, pluginconf.PluginMeta):
        pmd = pluginconf.PluginMeta(pmd)
    return [
        [
            sg.Checkbox(
                pmd.get("title", pmd.id), key='p:'+pmd.id, default=plugin_states.get(pmd.id, 0),
                tooltip=pmd.get("doc"), metadata="plugin", font="bold", pad=(0, (8, 0))
            ),







|







124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
            return [sg.Image(data=img_fn, **size)]
        if img_fn.find(".") > 0:
            return [sg.Image(filename=re.sub("[^/]+$", img_fn, pmd.fn), **size)]
    return []

def plugin_entry(pmd, plugin_states):
    """ checkbox for plugin name """
    if not isinstance(pmd, pluginconf.PluginMeta):
        pmd = pluginconf.PluginMeta(pmd)
    return [
        [
            sg.Checkbox(
                pmd.get("title", pmd.id), key='p:'+pmd.id, default=plugin_states.get(pmd.id, 0),
                tooltip=pmd.get("doc"), metadata="plugin", font="bold", pad=(0, (8, 0))
            ),