git-gui: More consistently display the application name.
I started to find it confusing that git-gui would refer to itself as git-citool when it was started through the citool hardlink, or with the citool subcommand. What was especially confusing was the options dialog and the about dialog, as both seemed to imply they were somehow different from the git-gui versions. In actuality there is no difference at all. Now we just call our options menu item 'Options...' (skipping the application name) and our About dialog now always shows git-gui within the short description (above the copyleft notice) and in the version field. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Shawn O. Pearce committed
Feb 14, 2007 at 00:10 UTC
5ac58f5ba1392416a911c618abba6d874987a1b0
1 file changed
+4
-4
git-gui.sh
+4
-4
@@ -4442,7 +4442,7 @@ proc do_about {} {
4442
pack $w.buttons -side bottom -fill x -pady 10 -padx 10
4443
4444
label $w.desc \
4445
- -text "[appname] - a commit creation tool for Git.
4445
+ -text "git-gui - a commit creation tool for Git.
4446
$copyright" \
4447
-padx 5 -pady 5 \
4448
-justify left \
@@ -4453,7 +4453,7 @@ $copyright" \
4453
pack $w.desc -side top -fill x -padx 5 -pady 5
4454
4455
set v {}
4456
- append v "[appname] version $appvers\n"
4456
+ append v "git-gui version $appvers\n"
4457
append v "[git version]\n"
4458
append v "\n"
4459
if {$tcl_patchLevel eq $tk_patchLevel} {
@@ -4513,7 +4513,7 @@ proc do_options {} {
4513
toplevel $w
4514
wm geometry $w "+[winfo rootx .]+[winfo rooty .]"
4515
4516
- label $w.header -text "[appname] Options" \
4516
+ label $w.header -text "Options" \
4517
-font font_uibold
4518
pack $w.header -side top -fill x
4519
@@ -5219,7 +5219,7 @@ if {[is_MacOSX]} {
5219
.mbar.apple add command -label "About [appname]" \
5220
-command do_about \
5221
-font font_ui
5222
- .mbar.apple add command -label "[appname] Options..." \
5222
+ .mbar.apple add command -label "Options..." \
5223
-command do_options \
5224
-font font_ui
5225
} else {