Skip to content

Commit 1eadf0f

Browse files
committed
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 <[email protected]>
1 parent 9950eff commit 1eadf0f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

gitk

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11741,10 +11741,6 @@ proc prefspage_colors {notebook} {
1174111741
1174211742
ttk::label $page.cdisp -text [mc "Colors: press to choose"] -font mainfontbold
1174311743
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
1174811744
label $page.bg -padx 40 -relief sunk -background $bgcolor
1174911745
ttk::button $page.bgbut -text [mc "Background"] \
1175011746
-command [list choosecolor bgcolor {} $page [mc "background"]]
@@ -11788,7 +11784,6 @@ proc prefspage_set_colorswatches {page} {
1178811784
global uicolor bgcolor fgcolor ctext diffcolors selectbgcolor markbgcolor
1178911785
global diffbgcolors
1179011786
11791-
$page.ui configure -background $uicolor
1179211787
$page.bg configure -background $bgcolor
1179311788
$page.fg configure -background $fgcolor
1179411789
$page.diffold configure -background [lindex $diffcolors 0]

0 commit comments

Comments
 (0)