def progressDownload(self, current, text): if not text: action = ProgressAction(self.head, "Downloading (" + str(current) + "%)") else: action = ProgressAction(self.head, text) mmsv2gui.invokeLater(action)
def progressUpdate(self, current, total, cat, text): if not text: action = ProgressAction(self.head, "Updating - " + cat + " (" + str(current) + " of " + str(total) + ")") else: action = ProgressAction(self.head, text) mmsv2gui.invokeLater(action)