]> git.ipfire.org Git - thirdparty/git.git/commit
gitk: add proc run_themeloader
authorMark Levedahl <mlevedahl@gmail.com>
Mon, 29 Sep 2025 03:04:54 +0000 (23:04 -0400)
committerMark Levedahl <mlevedahl@gmail.com>
Tue, 30 Sep 2025 00:54:09 +0000 (20:54 -0400)
commit830c4578cdc4478e3e74286bb1d007e184700ae1
tree9f2e847c7804e3ae499e227caeb2c4827bddcf9e
parent83a2de9ca6bd2c191dbdfe1dc89eabb3622b8cc9
gitk: add proc run_themeloader

gitk currently accepts a single themeloader file via the config file,
and will source this with errors reported to the console. This is fine
for simple configuration, but will not support interactive theme
exploration from the gui. In particular, a themeloader file must be
sourced only once as the themes defined cannot be re-defined. Also,
errors must be handled rather than just aborting while printing to the
console.  So, add a proc to handle the above, supporting expansion of
the gui config pages.

Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
gitk