Changeset 340028f30d8f…
Parent 4b30a3efa4b9…
by
Changes to 3 files · Browse files at 340028f30d8f Showing diff from parent 4b30a3efa4b9 Diff from another changeset...
@@ -61,14 +61,15 @@ 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...
|
|
|
Loading...