diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-05 12:44:38 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-05 12:44:38 +0200 |
commit | afd9c0f41e6063f2ed0a64d315e3234e7e57ac3e (patch) | |
tree | 34d2212c5cb72a7e013ff91bdde0c23663940c81 /module/gui | |
parent | internal core feature (diff) | |
download | pyload-afd9c0f41e6063f2ed0a64d315e3234e7e57ac3e.tar.xz |
new .pot files, internal fix
Diffstat (limited to 'module/gui')
-rw-r--r-- | module/gui/ConnectionManager.py | 3 | ||||
-rw-r--r-- | module/gui/Queue.py | 4 | ||||
-rw-r--r-- | module/gui/connector.py | 7 |
3 files changed, 8 insertions, 6 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 |