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>
This commit is contained in:
parent
0f32da53df
commit
d80ded01de
@ -69,10 +69,10 @@ constructor new {i_commit i_path} {
|
|||||||
make_toplevel top w
|
make_toplevel top w
|
||||||
wm title $top "[appname] ([reponame]): File Viewer"
|
wm title $top "[appname] ([reponame]): File Viewer"
|
||||||
|
|
||||||
frame $w.header -background orange
|
frame $w.header -background gold
|
||||||
label $w.header.commit_l \
|
label $w.header.commit_l \
|
||||||
-text {Commit:} \
|
-text {Commit:} \
|
||||||
-background orange \
|
-background gold \
|
||||||
-anchor w \
|
-anchor w \
|
||||||
-justify left
|
-justify left
|
||||||
set w_back $w.header.commit_b
|
set w_back $w.header.commit_b
|
||||||
@ -81,8 +81,8 @@ constructor new {i_commit i_path} {
|
|||||||
-borderwidth 0 \
|
-borderwidth 0 \
|
||||||
-relief flat \
|
-relief flat \
|
||||||
-state disabled \
|
-state disabled \
|
||||||
-background orange \
|
-background gold \
|
||||||
-activebackground orange
|
-activebackground gold
|
||||||
bind $w_back <Button-1> "
|
bind $w_back <Button-1> "
|
||||||
if {\[$w_back cget -state\] eq {normal}} {
|
if {\[$w_back cget -state\] eq {normal}} {
|
||||||
[cb _history_menu]
|
[cb _history_menu]
|
||||||
@ -90,17 +90,17 @@ constructor new {i_commit i_path} {
|
|||||||
"
|
"
|
||||||
label $w.header.commit \
|
label $w.header.commit \
|
||||||
-textvariable @commit \
|
-textvariable @commit \
|
||||||
-background orange \
|
-background gold \
|
||||||
-anchor w \
|
-anchor w \
|
||||||
-justify left
|
-justify left
|
||||||
label $w.header.path_l \
|
label $w.header.path_l \
|
||||||
-text {File:} \
|
-text {File:} \
|
||||||
-background orange \
|
-background gold \
|
||||||
-anchor w \
|
-anchor w \
|
||||||
-justify left
|
-justify left
|
||||||
set w_path $w.header.path
|
set w_path $w.header.path
|
||||||
label $w_path \
|
label $w_path \
|
||||||
-background orange \
|
-background gold \
|
||||||
-anchor w \
|
-anchor w \
|
||||||
-justify left
|
-justify left
|
||||||
pack $w.header.commit_l -side left
|
pack $w.header.commit_l -side left
|
||||||
|
Loading…
Reference in New Issue
Block a user