diff options
author | Mark Levedahl <mlevedahl@gmail.com> | 2025-06-05 12:23:37 -0400 |
---|---|---|
committer | Mark Levedahl <mlevedahl@gmail.com> | 2025-07-16 23:01:51 -0400 |
commit | 100f597b8833c55bdac70e9c2066d9ee36e0b6cb (patch) | |
tree | 91774b78861b4218d0dbe6565c2ff482fdc62b6c /tree-diff.c | |
parent | 3e4314387b0affaca5353bb3ada8e93f2722fab9 (diff) |
gitk: set config dialog color swatches in one place
gitk's color selection dialog uses a number of "label" widgets to show
the current value of each selectable color. This uses the -background
color property of label widgets, and this property is overwritten when
the full ui color set is refreshed. The swatch colors are set
individually using code passed into the chooser dialog, so there is no
common routine to set all after updating the global ui colors.
Let's replace this with a single routine that does set all swatches,
removing a key impediment to restoring the ui colors if the dialog is
cancelled.
Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Diffstat (limited to 'tree-diff.c')
0 files changed, 0 insertions, 0 deletions