def update(self, phase, percent, reqByteRate, actualByteRate):
     """Update our text with a special case for toontorial."""
     DownloadWatcher.update(self, phase, percent, reqByteRate,
                            actualByteRate)
     #RAU for bug TOON-1882 change Downloading Toontorial to Loading Toontorial
     #for TOONWEB-1335 do it for all phases
     phaseName = self.phaseNames[phase]
     self.text['text'] = (TTLocalizer.LoadingDownloadWatcherUpdate %
                          (phaseName))
 def __init__(self, phaseNames):
     DownloadWatcher.__init__(self, phaseNames)
 def update(self, phase, percent, reqByteRate, actualByteRate):
     DownloadWatcher.update(self, phase, percent, reqByteRate, actualByteRate)
     phaseName = self.phaseNames[phase]
     self.text['text'] = TTLocalizer.LoadingDownloadWatcherUpdate % phaseName
Beispiel #4
0
 def update(self, phase, percent, reqByteRate, actualByteRate):
     DownloadWatcher.update(self, phase, percent, reqByteRate,
                            actualByteRate)
     phaseName = self.phaseNames[phase]
     self.text[
         'text'] = TTLocalizer.LoadingDownloadWatcherUpdate % phaseName
Beispiel #5
0
 def __init__(self, phaseNames):
     DownloadWatcher.__init__(self, phaseNames)