]> rtime.felk.cvut.cz Git - sojka/git-gui.git/commitdiff
git-gui: Include our Git logo in the about dialog
authorShawn O. Pearce <spearce@spearce.org>
Sat, 6 Oct 2007 00:15:10 +0000 (20:15 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 10 Oct 2007 05:12:16 +0000 (01:12 -0400)
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>
lib/about.tcl

index b19738ecff0fb42b6a2bd5ed6583c5442b0f5ce9..719fc547b3e157cdb14a8a09ba77a1d7c5f1f585 100644 (file)
@@ -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