gitk: move UI for generic colors above diff colors

The selection and link colors apply not only to the diff panel, but also
to the the commit list. Move these right after the generic background
and text color options.

The color for marked lines is only used in the diff panel, hence, leave
it below the diff color options.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
main
Johannes Sixt 2026-08-09 18:05:50 +02:00
parent 0fcec6976e
commit 40ca78dc37
1 changed files with 6 additions and 6 deletions

12
gitk
View File

@ -11840,6 +11840,12 @@ proc prefspage_colors {notebook} {
fg fgcolor {} \
[mc "Main text"] \
[mc "choose main text color"] \
selbg selectbgcolor {} \
[mc "Selected text background"] \
[mc "choose background color of selected text"] \
linkfg linkfgcolor {} \
[mc "Link text"] \
[mc "choose color of link text"] \
diffold diffcolors 0 \
[mc "Old line text"] \
[mc "choose text color of old lines"] \
@ -11858,12 +11864,6 @@ proc prefspage_colors {notebook} {
markbg markbgcolor {} \
[mc "Marked line background"] \
[mc "choose background color of marked lines"] \
selbg selectbgcolor {} \
[mc "Selected text background"] \
[mc "choose background color of selected text"] \
linkfg linkfgcolor {} \
[mc "Link text"] \
[mc "choose color of link text"] \
]

foreach {uielem colorvar idx label title} $coloruielems {