From 1903b395f58f429bd04ae3a3a6877f279d82d4ec Mon Sep 17 00:00:00 2001 From: mkaay Date: Wed, 1 Sep 2010 21:22:43 +0200 Subject: ul.to fix, gui refresh online status --- pyLoadGui.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'pyLoadGui.py') diff --git a/pyLoadGui.py b/pyLoadGui.py index 981a74ce9..d968528c7 100755 --- a/pyLoadGui.py +++ b/pyLoadGui.py @@ -163,6 +163,7 @@ class main(QObject): self.connect(self.mainWindow, SIGNAL("setClipboardStatus"), self.slotSetClipboardStatus) self.connect(self.mainWindow, SIGNAL("changePackageName"), self.slotChangePackageName) self.connect(self.mainWindow, SIGNAL("pullOutPackage"), self.slotPullOutPackage) + self.connect(self.mainWindow, SIGNAL("refreshStatus"), self.slotRefreshStatus) self.connect(self.mainWindow, SIGNAL("setPriority"), self.slotSetPriority) self.connect(self.mainWindow, SIGNAL("reloadAccounts"), self.slotReloadAccounts) @@ -512,6 +513,13 @@ class main(QObject): else: self.connector.restartFile(id) + def slotRefreshStatus(self, id): + """ + emitted from main window + refresh download status + """ + self.connector.proxy.recheck_package(id) + def slotRemoveDownload(self, id, isPack): """ emitted from main window -- cgit v1.2.3