git-gui: Changed blame header bar background to match main window
The main window's diff header bar background switched from orange to gold recently, and I liked the effect it had on readability of the text. Since I wanted the blame viewer to match, here it is. Though this probably should be a user defined color, or at least a constant somewhere that everyone can reference. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce committed
Jun 8, 2007 at 02:02 UTC
d80ded01de0189fe7179913d3ecdeecadf2052a0
1 file changed
+7
-7
lib/blame.tcl
+7
-7
@@ -69,10 +69,10 @@ constructor new {i_commit i_path} {
69
make_toplevel top w
70
wm title $top "[appname] ([reponame]): File Viewer"
71
72
- frame $w.header -background orange
72
+ frame $w.header -background gold
73
label $w.header.commit_l \
74
-text {Commit:} \
75
- -background orange \
75
+ -background gold \
76
-anchor w \
77
-justify left
78
set w_back $w.header.commit_b
@@ -81,8 +81,8 @@ constructor new {i_commit i_path} {
81
-borderwidth 0 \
82
-relief flat \
83
-state disabled \
84
- -background orange \
85
- -activebackground orange
84
+ -background gold \
85
+ -activebackground gold
86
bind $w_back <Button-1> "
87
if {\[$w_back cget -state\] eq {normal}} {
88
[cb _history_menu]
@@ -90,17 +90,17 @@ constructor new {i_commit i_path} {
90
"
91
label $w.header.commit \
92
-textvariable @commit \
93
- -background orange \
93
+ -background gold \
94
-anchor w \
95
-justify left
96
label $w.header.path_l \
97
-text {File:} \
98
- -background orange \
98
+ -background gold \
99
-anchor w \
100
-justify left
101
set w_path $w.header.path
102
label $w_path \
103
- -background orange \
103
+ -background gold \
104
-anchor w \
105
-justify left
106
pack $w.header.commit_l -side left