1
0

update the gtk gui

This commit is contained in:
ThomasV
2013-10-07 10:05:15 +02:00
parent dae4de35f7
commit a130b5b92b
2 changed files with 45 additions and 66 deletions

View File

@@ -39,7 +39,6 @@ class NetworkDialog(QDialog):
self.setMinimumSize(375, 20)
self.network = network
self.interface = interface = network.interface
self.config = config
self.protocol = None
@@ -51,7 +50,7 @@ class NetworkDialog(QDialog):
status = _("Not connected")
if network.is_connected():
status += "\n" + _("Server:") + " %s"%(interface.host)
status += "\n" + _("Server:") + " %s"%(network.interface.host)
else:
status += "\n" + _("Disconnected from server")