~mvo/update-manager/not-automatic

« back to all changes in this revision

Viewing changes to UpdateManager/DistUpgradeFetcherKDE.py

  • Committer: Michael Vogt
  • Date: 2009-01-27 08:37:33 UTC
  • Revision ID: michael.vogt@ubuntu.com-20090127083733-2pvczhdgk9qpaz3f
UpdateManager/DistUpgradeFetcherKDE.py: make it work as a standalone app again (helps testing)

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
        self.progressDialogue.setWindowTitle(_("Upgrade"))
63
63
        self.progress = KDEFetchProgressAdapter(self.progressDialogue.installationProgress, self.progressDialogue.installingLabel, None)
64
64
        DistUpgradeFetcherCore.__init__(self,metaRelease.new_dist,self.progress)
65
 
        #QTimer.singleShot(10, self.run)
66
65
 
67
66
    def error(self, summary, message):
68
67
        KMessageBox.sorry(None, message, summary)
177
176
 
178
177
    app = KApplication()
179
178
    fetcher = DistUpgradeFetcherKDE()
 
179
    QTimer.singleShot(10, fetcher.run)
180
180
 
181
181
    app.exec_()