Changeset 1806

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 
  • gaphor/trunk/setup.py

    r1679 r1806  
    9090    license='GNU General Public License', 
    9191    description='Gaphor is a UML modeling tool', 
    92     long_description="Gaphor is a UML modeling tool written in Python. " 
    93                      "It uses the GTK+ environment for user interaction.", 
     92    long_description=""" 
     93Gaphor is a UML modeling tool written in Python. 
     94 
     95It uses the GTK+ environment for user interaction. 
     96""", 
    9497    classifiers = [ 
    9598        'Development Status :: 4 - Beta',