summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-05 12:44:38 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-05 12:44:38 +0200
commitafd9c0f41e6063f2ed0a64d315e3234e7e57ac3e (patch)
tree34d2212c5cb72a7e013ff91bdde0c23663940c81 /module
parentinternal core feature (diff)
downloadpyload-afd9c0f41e6063f2ed0a64d315e3234e7e57ac3e.tar.xz
new .pot files, internal fix
Diffstat (limited to 'module')
-rw-r--r--module/gui/ConnectionManager.py3
-rw-r--r--module/gui/Queue.py4
-rw-r--r--module/gui/connector.py7
-rw-r--r--module/plugins/hoster/NetloadIn.py2
4 files changed, 9 insertions, 7 deletions
diff --git a/module/gui/ConnectionManager.py b/module/gui/ConnectionManager.py
index 2a63698a0..021bd6bdd 100644
--- a/module/gui/ConnectionManager.py
+++ b/module/gui/ConnectionManager.py
@@ -51,6 +51,7 @@ class ConnectionManager(QWidget):
#line.setFixedWidth(100)
line.setFrameShape(line.HLine)
line.setFrameShadow(line.Sunken)
+ line.setFixedHeight(10)
boxLayout.addWidget(line)
@@ -60,7 +61,7 @@ class ConnectionManager(QWidget):
form.setAlignment(Qt.AlignRight)
checkbox = QCheckBox()
- form.addRow(_("Use internal Core"), checkbox)
+ form.addRow(_("Use internal Core:"), checkbox)
boxLayout.addLayout(form)
diff --git a/module/gui/Queue.py b/module/gui/Queue.py
index 42e92c61a..ca527bb2c 100644
--- a/module/gui/Queue.py
+++ b/module/gui/Queue.py
@@ -216,8 +216,8 @@ class QueueView(CollectorView):
self.setColumnWidth(1, 100)
self.setColumnWidth(2, 150)
self.setColumnWidth(3, 50)
- self.setColumnWidth(4, 50)
- self.setColumnWidth(5, 100)
+ self.setColumnWidth(4, 70)
+ self.setColumnWidth(5, 80)
self.setEditTriggers(QAbstractItemView.NoEditTriggers)
diff --git a/module/gui/connector.py b/module/gui/connector.py
index 28bfaacc4..2554f4ced 100644
--- a/module/gui/connector.py
+++ b/module/gui/connector.py
@@ -50,12 +50,13 @@ class Connector(QThread):
while not hasattr(self.addr[1], "server_methods"):
sleep(1)
- self.proxy = DispatchRPC(self.mutex, self.addr[1].server_methods)
+ self.proxy = self.addr[1].server_methods
else:
self.proxy = DispatchRPC(self.mutex, ServerProxy(self.addr, allow_none=True, verbose=False))
- self.connect(self.proxy, SIGNAL("proxy_error"), self._proxyError)
- self.connect(self.proxy, SIGNAL("connectionLost"), self, SIGNAL("connectionLost"))
+ self.connect(self.proxy, SIGNAL("proxy_error"), self._proxyError)
+ self.connect(self.proxy, SIGNAL("connectionLost"), self, SIGNAL("connectionLost"))
+
try:
server_version = self.proxy.get_server_version()
self.connectionID = uuid().hex
diff --git a/module/plugins/hoster/NetloadIn.py b/module/plugins/hoster/NetloadIn.py
index 0a8bbd9af..a8f96aaa3 100644
--- a/module/plugins/hoster/NetloadIn.py
+++ b/module/plugins/hoster/NetloadIn.py
@@ -179,7 +179,7 @@ class NetloadIn(Hoster):
file_id = re.search('<input name="file_id" type="hidden" value="(.*)" />', page).group(1)
if not captchawaited:
wait = self.get_wait_time(page)
- if i == 1: wait = 1
+ if i == 0: wait = 1 # wait only 1 sec contrary to time on website
self.log.info(_("Netload: waiting for captcha %d s." % wait))
self.setWait(wait)
self.wait()