From afd9c0f41e6063f2ed0a64d315e3234e7e57ac3e Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 5 Sep 2010 12:44:38 +0200 Subject: new .pot files, internal fix --- module/gui/ConnectionManager.py | 3 ++- module/gui/Queue.py | 4 ++-- module/gui/connector.py | 7 ++++--- 3 files changed, 8 insertions(+), 6 deletions(-) (limited to 'module/gui') 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 -- cgit v1.2.3