Ignore:
Timestamp:
04/20/12 03:15:24 (2 years ago)
Author:
mitar
Branch:
default
Message:

Support for widgets loading from modules, registered through entry point.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/orngDoc.py

    r10560 r10827  
    688688 
    689689                shown = widgetName in saveDlg.shownWidgetList 
    690                 widgetParameters += "self.createWidget('%s', '%s', '%s', %d, self.signalManager)\n" % (widget.widgetInfo.fileName, widget.widgetInfo.icon, widget.caption, shown) +t+t 
     690                widgetParameters += "self.createWidget('%s', '%s', '%s', %d, self.signalManager)\n" % ("%s.%s" % (widget.widgetInfo.module, widget.widgetInfo.fileName) if widget.widgetInfo.module else widget.widgetInfo.fileName, widget.widgetInfo.icon, widget.caption, shown) +t+t 
    691691            else: 
    692692                if not asTabs: 
Note: See TracChangeset for help on using the changeset viewer.