Show
Ignore:
Timestamp:
08/01/07 06:59:01 (1 year ago)
Author:
arj..@yirdis.nl
Message:
  • fixed line endings
  • fix stock icon loading so it works in conjunction with plugins.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gaphor/trunk/gaphor/ui/stock.py

    r1346 r1806  
    117117    from xml.sax import make_parser 
    118118    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')) 
    120120    log.info('Icon dir: %s' % icon_dir) 
    121121    #icon_dir = 'gaphor/data/pixmaps' 
     
    125125    parser.setContentHandler(loader) 
    126126 
    127     filename = pkg_resources.resource_filename('gaphor', 'ui/icons.xml') 
     127    filename = pkg_resources.resource_filename('gaphor.ui', 'icons.xml') 
    128128    if os.name == 'nt': 
    129129        # Make the filename a full URL