Changeset 1374

Show
Ignore:
Timestamp:
06/14/07 13:22:57 (1 year ago)
Author:
arj..@yirdis.nl
Message:

fixed help service

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gaphor/trunk/gaphor/services/helpservice.py

    r1279 r1374  
    4141    @action(name='help-about', stock_id='gtk-about') 
    4242    def about(self): 
    43         data_dir =  os.path.join(pkg_resources.get_distribution('gaphor').location, 'gaphor', 'data') 
    44         logo = gtk.gdk.pixbuf_new_from_file(os.path.join(data_dir, 'pixmaps', 'logo.png')
     43        logo_file =  os.path.join(pkg_resources.get_distribution('gaphor').location, 'gaphor', 'ui', 'pixmaps', 'logo.png') 
     44        logo = gtk.gdk.pixbuf_new_from_file(logo_file
    4545        version = Application.distribution.version 
    4646        about = gtk.Dialog("About Gaphor", self.gui_manager.main_window.window, gtk.DIALOG_MODAL, (gtk.STOCK_OK, gtk.RESPONSE_OK)) 
  • gaphor/trunk/setup.py

    r1363 r1374  
    126126            'action_manager = gaphor.services.actionmanager:ActionManager', 
    127127            'gui_manager = gaphor.services.guimanager:GUIManager', 
    128             'help = gaphor.services.helpservice:HelpService', 
    129128            'copy = gaphor.services.copyservice:CopyService', 
    130129            'xmi_export = gaphor.plugins.xmiexport:XMIExport', 
     
    134133            'live_object_browser = gaphor.plugins.liveobjectbrowser:LiveObjectBrowser', 
    135134            'alignment = gaphor.plugins.alignment:Alignment', 
     135            'help = gaphor.services.helpservice:HelpService', 
    136136        ], 
    137137        'gaphor.uicomponents': [