Changeset 3519:50a18805b77b in orange


Ignore:
Timestamp:
04/11/07 10:03:14 (7 years ago)
Author:
Gregor <Gregor@…>
Branch:
default
Convert:
0aa09b2224cbb83a2cca277d2bcb40a9c8ef2747
Message:

* empty log message *

Location:
orange/OrangeCanvas
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeCanvas/orngCanvasItems.py

    r3495 r3519  
    353353        self.instance.setProcessingHandler(self.view.processingHandler) 
    354354        self.instance.setWidgetStateHandler(self.refreshWidgetState) 
     355        self.instance._owInfo = self.canvasDlg.settings["owInfo"] 
     356        self.instance._owWarning = self.canvasDlg.settings["owWarning"] 
     357        self.instance._owError = self.canvasDlg.settings["owError"] 
     358        self.instance._owShowStatus = self.canvasDlg.settings["owShow"] 
     359        #self.instance.updateStatusBarState() 
     360        self.instance._useContexts = self.canvasDlg.settings["useContexts"] 
    355361 
    356362        # do we want to restore last position and size of the widget 
  • orange/OrangeCanvas/orngDoc.py

    r3505 r3519  
    263263            newwidget.instance.category = widget.getCategory() 
    264264            newwidget.instance.setEventHandler(self.canvasDlg.output.widgetEvents) 
    265             newwidget.instance._owInfo = self.canvasDlg.settings["owInfo"] 
    266             newwidget.instance._owWarning = self.canvasDlg.settings["owWarning"] 
    267             newwidget.instance._owError = self.canvasDlg.settings["owError"] 
    268             newwidget.instance._owShowStatus = self.canvasDlg.settings["owShow"] 
    269             #newwidget.instance.updateStatusBarState() 
    270             newwidget.instance._useContexts = self.canvasDlg.settings["useContexts"] 
    271265        except: 
    272266            type, val, traceback = sys.exc_info() 
Note: See TracChangeset for help on using the changeset viewer.