Esempio n. 1
0
        def progressDownload(self, current, text):
		if not text:
			action = ProgressAction(self.head, "Downloading (" + str(current) + "%)")
		else:
			action = ProgressAction(self.head, text)

		mmsv2gui.invokeLater(action)
Esempio n. 2
0
	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)