Skip to content

Commit

Permalink
git-gui: Changed blame header bar background to match main window
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shawn O. Pearce committed Jun 8, 2007
1 parent 0f32da5 commit d80ded0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/blame.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ constructor new {i_commit i_path} {
make_toplevel top w
wm title $top "[appname] ([reponame]): File Viewer"

frame $w.header -background orange
frame $w.header -background gold
label $w.header.commit_l \
-text {Commit:} \
-background orange \
-background gold \
-anchor w \
-justify left
set w_back $w.header.commit_b
Expand All @@ -81,26 +81,26 @@ constructor new {i_commit i_path} {
-borderwidth 0 \
-relief flat \
-state disabled \
-background orange \
-activebackground orange
-background gold \
-activebackground gold
bind $w_back <Button-1> "
if {\[$w_back cget -state\] eq {normal}} {
[cb _history_menu]
}
"
label $w.header.commit \
-textvariable @commit \
-background orange \
-background gold \
-anchor w \
-justify left
label $w.header.path_l \
-text {File:} \
-background orange \
-background gold \
-anchor w \
-justify left
set w_path $w.header.path
label $w_path \
-background orange \
-background gold \
-anchor w \
-justify left
pack $w.header.commit_l -side left
Expand Down

0 comments on commit d80ded0

Please sign in to comment.