Ejemplo 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)
Ejemplo 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)