Commit 830c457
committed
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>1 parent 83a2de9 commit 830c457
1 file changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11861 | 11861 | | |
11862 | 11862 | | |
11863 | 11863 | | |
| 11864 | + | |
| 11865 | + | |
| 11866 | + | |
| 11867 | + | |
| 11868 | + | |
| 11869 | + | |
| 11870 | + | |
| 11871 | + | |
| 11872 | + | |
| 11873 | + | |
| 11874 | + | |
| 11875 | + | |
| 11876 | + | |
| 11877 | + | |
| 11878 | + | |
| 11879 | + | |
| 11880 | + | |
11864 | 11881 | | |
11865 | 11882 | | |
11866 | 11883 | | |
| |||
12742 | 12759 | | |
12743 | 12760 | | |
12744 | 12761 | | |
12745 | | - | |
| 12762 | + | |
| 12763 | + | |
| 12764 | + | |
| 12765 | + | |
12746 | 12766 | | |
12747 | 12767 | | |
12748 | 12768 | | |
| |||
0 commit comments