summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-06-08 02:02:48 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-06-08 02:50:07 -0400
commitd80ded01de0189fe7179913d3ecdeecadf2052a0 (patch)
treef07cc260d8bad31d8c6052a1241339c5ae2a6ae4 /lib
parentgit-gui: Favor the original annotations over the recent ones (diff)
downloadtgif-d80ded01de0189fe7179913d3ecdeecadf2052a0.tar.xz
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/blame.tcl14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/blame.tcl b/lib/blame.tcl
index cb0f2c40b7..98687c77da 100644
--- a/lib/blame.tcl
+++ b/lib/blame.tcl
@@ -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
@@ -81,8 +81,8 @@ 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]
@@ -90,17 +90,17 @@ constructor new {i_commit i_path} {
"
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