aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-10-05 08:47:23 -0400
committerShawn O. Pearce <spearce@spearce.org>2007-10-10 01:12:18 -0400
commitc73ce762f091688ce6bcd5470239f7c5d1963800 (patch)
tree6f02ae849637483b91a306252dc2c5efc533a2d6
parent13824e2df23c18eab28b2b9a8c112276a84dd419 (diff)
downloadgit-c73ce762f091688ce6bcd5470239f7c5d1963800.tar.gz
git-c73ce762f091688ce6bcd5470239f7c5d1963800.tar.xz
git-gui: Shorten the staged/unstaged changes title bar text
The titles for the staged and unstaged areas were usually opening up too narrow by default, causing the text to be clipped by Tcl as it tried to center the text in the middle of the available area. This meant that users who were new to git-gui did not get to see the entire header and may be unclear about what the different lists are. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rwxr-xr-xgit-gui.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-gui.sh b/git-gui.sh
index be506b908..e17efb7d9 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -2213,7 +2213,7 @@ pack .vpane -anchor n -side top -fill both -expand 1
# -- Index File List
#
frame .vpane.files.index -height 100 -width 200
-label .vpane.files.index.title -text [mc "Staged Changes (Will Be Committed)"] \
+label .vpane.files.index.title -text [mc "Staged Changes (Will Commit)"] \
-background lightgreen
text $ui_index -background white -borderwidth 0 \
-width 20 -height 10 \
@@ -2233,7 +2233,7 @@ pack $ui_index -side left -fill both -expand 1
# -- Working Directory File List
#
frame .vpane.files.workdir -height 100 -width 200
-label .vpane.files.workdir.title -text [mc "Unstaged Changes (Will Not Be Committed)"] \
+label .vpane.files.workdir.title -text [mc "Unstaged Changes"] \
-background lightsalmon
text $ui_workdir -background white -borderwidth 0 \
-width 20 -height 10 \