aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-02-14 00:10:20 -0500
committerShawn O. Pearce <spearce@spearce.org>2007-02-14 00:10:20 -0500
commit5ac58f5ba1392416a911c618abba6d874987a1b0 (patch)
treecdcc682158233acb7b1f53591678c3a65097a491
parentcdf6e08880b4924fa717bd6ca700081f445c9065 (diff)
downloadgit-5ac58f5ba1392416a911c618abba6d874987a1b0.tar.gz
git-5ac58f5ba1392416a911c618abba6d874987a1b0.tar.xz
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>
-rwxr-xr-xgit-gui.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/git-gui.sh b/git-gui.sh
index f8d4db21a..b3a80c64e 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -4442,7 +4442,7 @@ proc do_about {} {
pack $w.buttons -side bottom -fill x -pady 10 -padx 10
label $w.desc \
- -text "[appname] - a commit creation tool for Git.
+ -text "git-gui - a commit creation tool for Git.
$copyright" \
-padx 5 -pady 5 \
-justify left \
@@ -4453,7 +4453,7 @@ $copyright" \
pack $w.desc -side top -fill x -padx 5 -pady 5
set v {}
- append v "[appname] version $appvers\n"
+ append v "git-gui version $appvers\n"
append v "[git version]\n"
append v "\n"
if {$tcl_patchLevel eq $tk_patchLevel} {
@@ -4513,7 +4513,7 @@ proc do_options {} {
toplevel $w
wm geometry $w "+[winfo rootx .]+[winfo rooty .]"
- label $w.header -text "[appname] Options" \
+ label $w.header -text "Options" \
-font font_uibold
pack $w.header -side top -fill x
@@ -5219,7 +5219,7 @@ if {[is_MacOSX]} {
.mbar.apple add command -label "About [appname]" \
-command do_about \
-font font_ui
- .mbar.apple add command -label "[appname] Options..." \
+ .mbar.apple add command -label "Options..." \
-command do_options \
-font font_ui
} else {