Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

about: get paths from paths module

Changeset 9be0ed03b18f

Parent 6cdb35ac1e0b

by Steve Borho

Changes to one file · Browse files at 9be0ed03b18f Showing diff from parent 6cdb35ac1e0b Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​about.py Stacked
 
11
12
13
 
14
15
16
 
57
58
59
60
61
62
 
 
63
64
 
65
66
67
 
11
12
13
14
15
16
17
 
58
59
60
 
 
 
61
62
63
 
64
65
66
67
@@ -11,6 +11,7 @@
 from thgutil.i18n import _  from thgutil.hglib import hgversion  from thgutil import shlib +from thgutil import paths    def browse_url(url):   import threading @@ -57,11 +58,10 @@
  self.set_wrap_license(True)   self.set_copyright("Copyright 2009 TK Soh and others")   - 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))) + thg_logo = paths.get_tortoise_icon('thg_logo_92x50.png') + thg_icon = paths.get_tortoise_icon('thg_logo.ico')   try: - license_file = os.path.join(prog_root, "COPYING.txt") + license_file = paths.get_license_path()   self.set_license(file(license_file).read())   except IOError:   import hgtk