tsmall fixes for gtk gui - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 7959417751b256923edc0ed2b5f6e36f3af843f7 DIR parent 10119dfed31bab7a59032df83f67824e74836eb9 HTML Author: ThomasV <thomasv@gitorious> Date: Fri, 12 Oct 2012 01:21:50 +0200 small fixes for gtk gui Diffstat: M lib/gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/gui.py b/lib/gui.py t@@ -306,7 +306,7 @@ def run_network_dialog( wallet, parent ): status = "Connected to %s:%d\n%d blocks"%(interface.host, interface.port, wallet.blocks) else: status = "Not connected" - server = wallet.server + server = interface.server else: import random status = "Please choose a server." t@@ -1160,7 +1160,7 @@ class ElectrumWindow: if u: text += "[%s unconfirmed]"%( format_satoshis(u,True,self.wallet.num_zeros).strip() ) else: self.status_image.set_from_stock(gtk.STOCK_NO, gtk.ICON_SIZE_MENU) - self.network_button.set_tooltip_text("Trying to contact %s.\n%d blocks"%(self.wallet.server, self.wallet.blocks)) + self.network_button.set_tooltip_text("Trying to contact %s.\n%d blocks"%(interface.server, self.wallet.blocks)) text = "Not connected" self.status_bar.pop(self.context_id)