do not display response time; it is deprecated since we use stratum
authorthomasv <thomasv@gitorious>
Wed, 2 May 2012 15:52:04 +0000 (17:52 +0200)
committerthomasv <thomasv@gitorious>
Wed, 2 May 2012 15:52:04 +0000 (17:52 +0200)
gui.py
gui_qt.py

diff --git a/gui.py b/gui.py
index 41eabf5..3b7928f 100644 (file)
--- a/gui.py
+++ b/gui.py
@@ -300,7 +300,7 @@ def run_network_dialog( wallet, parent ):
     interface = wallet.interface
     if parent:
         if interface.is_connected:
-            status = "Connected to %s:%d\n%d blocks\nresponse time: %f"%(interface.host, interface.port, wallet.blocks, interface.rtime)
+            status = "Connected to %s:%d\n%d blocks"%(interface.host, interface.port, wallet.blocks)
         else:
             status = "Not connected"
         server = wallet.server
@@ -1128,7 +1128,7 @@ class ElectrumWindow:
         if self.funds_error:
             text = "Not enough funds"
         elif interface.is_connected:
-            self.network_button.set_tooltip_text("Connected to %s:%d.\n%d blocks\nresponse time: %f"%(interface.host, interface.port, self.wallet.blocks, interface.rtime))
+            self.network_button.set_tooltip_text("Connected to %s:%d.\n%d blocks"%(interface.host, interface.port, self.wallet.blocks))
             if self.wallet.blocks == -1:
                 self.status_image.set_from_stock(gtk.STOCK_NO, gtk.ICON_SIZE_MENU)
                 text = "Connecting..."
@@ -1140,7 +1140,7 @@ class ElectrumWindow:
                 text = "Synchronizing..."
             else:
                 self.status_image.set_from_stock(gtk.STOCK_YES, gtk.ICON_SIZE_MENU)
-                self.network_button.set_tooltip_text("Connected to %s:%d.\n%d blocks\nresponse time: %f"%(interface.host, interface.port, self.wallet.blocks, interface.rtime))
+                self.network_button.set_tooltip_text("Connected to %s:%d.\n%d blocks"%(interface.host, interface.port, self.wallet.blocks))
                 c, u = self.wallet.get_balance()
                 text =  "Balance: %s "%( format_satoshis(c,False,self.wallet.num_zeros) )
                 if u: text +=  "[%s unconfirmed]"%( format_satoshis(u,True,self.wallet.num_zeros).strip() )
index d5b907b..c959972 100644 (file)
--- a/gui_qt.py
+++ b/gui_qt.py
@@ -931,7 +931,7 @@ class ElectrumWindow(QMainWindow):
         interface = wallet.interface
         if parent:
             if interface.is_connected:
-                status = "Connected to %s:%d\n%d blocks\nresponse time: %f"%(interface.host, interface.port, wallet.blocks, interface.rtime)
+                status = "Connected to %s:%d\n%d blocks"%(interface.host, interface.port, wallet.blocks)
             else:
                 status = "Not connected"
             server = wallet.server