Commits

Peer Sommerlund committed 340028f

about: Make logo transparent

The old 92x50 png was taken from the homepage, and has a white
background.

The new png has transparency, which gives a nicer look for the
application logo in the about dialog. In addition to this, the
about dialog now has a separate 32x32 icon, which looks nicer
than a down-scaled version of the 92x50 image.

Comments (0)

Files changed (3)

             self.set_wrap_license(True)
         self.set_copyright("Copyright 2008 TK Soh and others")
 
-        hg_icon = os.path.normpath(shlib.get_tortoise_icon('thg_logo_92x50.png'))
-        prog_root = os.path.dirname(os.path.dirname(os.path.dirname(hg_icon)))
+        thg_logo = os.path.normpath(shlib.get_tortoise_icon('thg_logo_92x50.png'))
+        thg_icon = os.path.normpath(shlib.get_tortoise_icon('thg_logo.ico'))
+        prog_root = os.path.dirname(os.path.dirname(os.path.dirname(thg_icon)))
         license_file = os.path.join(prog_root, "COPYING.txt")
 
         self.set_license(file(license_file).read())
         self.set_comments("with " + lib_versions + "\n\n" + comment)
-        self.set_logo(gtk.gdk.pixbuf_new_from_file(hg_icon))      
-        self.set_icon_from_file(hg_icon)
+        self.set_logo(gtk.gdk.pixbuf_new_from_file(thg_logo))
+        self.set_icon_from_file(thg_icon)
         
         # somehow clicking on the Close button doesn't automatically
         # close the About dialog...
Add a comment to this file

icons/tortoise/thg_logo.ico

Added
New image
Add a comment to this file

icons/tortoise/thg_logo_92x50.png

Old
Old image
New
New image
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.