summaryrefslogtreecommitdiffstats
path: root/module/gui/connector.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-12-28 22:21:35 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-12-28 22:21:35 +0100
commit86949a6240bc6d5a5fd5e5677925e0d945686d3e (patch)
treeb421a1388ae4dc931469d7dd94f70cf5300f2a96 /module/gui/connector.py
parentyou can now drop single links directly into a package (diff)
downloadpyload-86949a6240bc6d5a5fd5e5677925e0d945686d3e.tar.xz
package renaming in collector works
Diffstat (limited to 'module/gui/connector.py')
-rw-r--r--module/gui/connector.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/module/gui/connector.py b/module/gui/connector.py
index 3f594d68e..8a2909c5e 100644
--- a/module/gui/connector.py
+++ b/module/gui/connector.py
@@ -353,4 +353,16 @@ class connector(QThread):
self.emit(SIGNAL("proxy_error"), "updateAvailable", e)
finally:
self.mutex.unlock()
+
+ def setPackageName(self, pid, name):
+ """
+ set new package name
+ """
+ self.mutex.lock()
+ try:
+ return self.proxy.set_package_name(pid, name)
+ except Exception, e:
+ self.emit(SIGNAL("proxy_error"), "setPackageName", e)
+ finally:
+ self.mutex.unlock()