1
0

handle disconnects

This commit is contained in:
ThomasV
2012-03-13 17:31:29 +01:00
parent b36a71cf93
commit 94b4ad8be7
2 changed files with 6 additions and 3 deletions

View File

@@ -1039,7 +1039,7 @@ class ElectrumWindow:
if self.wallet.interface.blocks == 0:
self.status_image.set_from_stock(gtk.STOCK_NO, gtk.ICON_SIZE_MENU)
text = "Server not ready"
elif not self.wallet.interface.was_polled:
elif not self.wallet.interface.is_up_to_date:
self.status_image.set_from_stock(gtk.STOCK_REFRESH, gtk.ICON_SIZE_MENU)
text = "Synchronizing..."
else: