Overview
Comment:fix residual theme= in kwargs
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0ea503177ab109c2656ccd1f86cf090e8e1480964947ba2771ab5d275412dabf
User & Date: mario on 2022-10-28 07:08:03
Other Links: manifest | tags
Context
2022-10-28
07:09
depends version cleanup, fixate filename= instead of fn=, drop nested Util results check-in: 1cd99def48 user: mario tags: trunk
07:08
fix residual theme= in kwargs check-in: 0ea503177a user: mario tags: trunk
07:07
argument pylint change check-in: 5c58c55164 user: mario tags: trunk
Changes

Modified pluginconf/gui.py from [96aaed6261] to [105790aa7a].

68
69
70
71
72
73
74

75
76
77
78
79
80
81
    -------
    True : if changed config{} values are to be saved (the dict will be updated in any case)
    """
    plugins = kwargs.get("plugins", {})
    opt_label = kwargs.get("opt_label", False)
    theme = kwargs.get("theme", "DefaultNoMoreNagging")
    if theme:

        sg.theme(theme)
    if files:
        plugins = read_options(files)
    layout = plugin_layout(plugins.values(), config, plugin_states, opt_label=opt_label)
    layout.append([sg.T(" ")])
    #print(repr(layout))








>







68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
    -------
    True : if changed config{} values are to be saved (the dict will be updated in any case)
    """
    plugins = kwargs.get("plugins", {})
    opt_label = kwargs.get("opt_label", False)
    theme = kwargs.get("theme", "DefaultNoMoreNagging")
    if theme:
        del kwargs["theme"]
        sg.theme(theme)
    if files:
        plugins = read_options(files)
    layout = plugin_layout(plugins.values(), config, plugin_states, opt_label=opt_label)
    layout.append([sg.T(" ")])
    #print(repr(layout))