[PATCH v2 6/6] gitk: move UI for generic colors above diff colors
From: Johannes Sixt via GitGitGadget <hidden>
Date: 2026-08-12 13:16:36
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Johannes Sixt <redacted> 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 <redacted> --- gitk-git/gitk | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/gitk-git/gitk b/gitk-git/gitk
index d4c229a3c0..9506739c50 100755
--- a/gitk-git/gitk
+++ b/gitk-git/gitk@@ -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 {
--
gitgitgadget