gitk: eliminate Interface color option from gui

gitk offers to change the ui color on the colors prefs page, but the variable set has no effect because gitk is using themes. Let's eliminate the "Interface" color selection option from that page. Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>

Mark Levedahl committed Sep 23, 2025 at 07:48 UTC 1eadf0f3e065ce8967279fcb1fedc0f29f3fca2a
1 file changed -5
gitk
-5
@@ -11741,10 +11741,6 @@ proc prefspage_colors {notebook} {
11741
11742 ttk::label $page.cdisp -text [mc "Colors: press to choose"] -font mainfontbold
11743 grid $page.cdisp - -sticky w -pady 10
11744 - label $page.ui -padx 40 -relief sunk -background $uicolor
11745 - ttk::button $page.uibut -text [mc "Interface"] \
11746 - -command [list choosecolor uicolor {} $page [mc "interface"]]
11747 - grid x $page.uibut $page.ui -sticky w
11744 label $page.bg -padx 40 -relief sunk -background $bgcolor
11745 ttk::button $page.bgbut -text [mc "Background"] \
11746 -command [list choosecolor bgcolor {} $page [mc "background"]]
@@ -11788,7 +11784,6 @@ proc prefspage_set_colorswatches {page} {
11784 global uicolor bgcolor fgcolor ctext diffcolors selectbgcolor markbgcolor
11785 global diffbgcolors
11786
11791 - $page.ui configure -background $uicolor
11787 $page.bg configure -background $bgcolor
11788 $page.fg configure -background $fgcolor
11789 $page.diffold configure -background [lindex $diffcolors 0]