@matheusbsbs / matheus-bagliano / commits / c73ce762f0
Fork 0

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>

Shawn O. Pearce committed Oct 5, 2007 at 08:47 UTC c73ce762f091688ce6bcd5470239f7c5d1963800
1 file changed +2 -2
git-gui.sh
+2 -2
@@ -2213,7 +2213,7 @@ pack .vpane -anchor n -side top -fill both -expand 1
2213 # -- Index File List
2214 #
2215 frame .vpane.files.index -height 100 -width 200
2216 -label .vpane.files.index.title -text [mc "Staged Changes (Will Be Committed)"] \
2216 +label .vpane.files.index.title -text [mc "Staged Changes (Will Commit)"] \
2217 -background lightgreen
2218 text $ui_index -background white -borderwidth 0 \
2219 -width 20 -height 10 \
@@ -2233,7 +2233,7 @@ pack $ui_index -side left -fill both -expand 1
2233 # -- Working Directory File List
2234 #
2235 frame .vpane.files.workdir -height 100 -width 200
2236 -label .vpane.files.workdir.title -text [mc "Unstaged Changes (Will Not Be Committed)"] \
2236 +label .vpane.files.workdir.title -text [mc "Unstaged Changes"] \
2237 -background lightsalmon
2238 text $ui_workdir -background white -borderwidth 0 \
2239 -width 20 -height 10 \