Changeset 1806 for gaphor/trunk/gaphor
- Timestamp:
- 08/01/07 06:59:01 (1 year ago)
- Files:
-
- gaphor/trunk/gaphor/ui/stock.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gaphor/trunk/gaphor/ui/stock.py
r1346 r1806 117 117 from xml.sax import make_parser 118 118 parser = make_parser() 119 icon_dir = os.path.abspath(pkg_resources.resource_filename('gaphor ', 'ui/pixmaps'))119 icon_dir = os.path.abspath(pkg_resources.resource_filename('gaphor.ui', 'pixmaps')) 120 120 log.info('Icon dir: %s' % icon_dir) 121 121 #icon_dir = 'gaphor/data/pixmaps' … … 125 125 parser.setContentHandler(loader) 126 126 127 filename = pkg_resources.resource_filename('gaphor ', 'ui/icons.xml')127 filename = pkg_resources.resource_filename('gaphor.ui', 'icons.xml') 128 128 if os.name == 'nt': 129 129 # Make the filename a full URL
