summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-10-05 20:15:10 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-10-10 01:12:16 -0400
commit51e1eadb7cd9c8b1943fdc62fe28535bfc032fc6 (patch)
treef5e233c14d61cc92716ac065f938210a5aecbc19
parentgit-gui: Refactor about dialog code into its own module (diff)
downloadtgif-51e1eadb7cd9c8b1943fdc62fe28535bfc032fc6.tar.xz
git-gui: Include our Git logo in the about dialog
Most applications tend to have some sort of pretty image in the about dialog, because it spruces the screen up a little bit and makes the user happy about reading the information shown there. We already have a logo in the repository selection wizard so we can easily reuse this in the about dialog. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rw-r--r--lib/about.tcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/about.tcl b/lib/about.tcl
index b19738ecff..719fc547b3 100644
--- a/lib/about.tcl
+++ b/lib/about.tcl
@@ -9,6 +9,7 @@ proc do_about {} {
toplevel $w
wm geometry $w "+[winfo rootx .]+[winfo rooty .]"
+ pack [git_logo $w.git_logo] -side left -fill y -padx 10 -pady 10
label $w.header -text [mc "About %s" [appname]] \
-font font_uibold
pack $w.header -side top -fill x