Ignore:
Timestamp:
11/14/12 12:37:29 (17 months ago)
Author:
Matija Polajnar <matija.polajnar@…>
Branch:
default
Message:

Show progress during installation of add-ons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/orngCanvas.pyw

    r11020 r11021  
    864864                    QMessageBox.warning(self,'Download Failed', "Download of add-on list has failed.") 
    865865 
    866         if dlg.exec_() == QDialog.Accepted: 
    867             add, remove, upgrade = dlg.to_install(), dlg.to_remove(), dlg.to_upgrade 
    868             for name in upgrade: 
    869                 try: 
    870                     Orange.utils.addons.upgrade(name) 
    871                 except Exception, e: 
    872                     print "Problem upgrading add-on %s: %s" % (name, e) 
    873             for name in remove: 
    874                 try: 
    875                     Orange.utils.addons.uninstall(name) 
    876                 except Exception, e: 
    877                     print "Problem uninstalling add-on %s: %s" % (name, e) 
    878             for name in add: 
    879                 try: 
    880                     Orange.utils.addons.install(name) 
    881                 except Exception, e: 
    882                     print "Problem installing add-on %s: %s" % (name, e) 
     866        dlg.exec_() 
    883867 
    884868    def menuItemShowStatusBar(self): 
Note: See TracChangeset for help on using the changeset viewer.