tupdates for stdio gui - electrum - Electrum Bitcoin wallet
 (HTM) git clone https://git.parazyd.org/electrum
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
       ---
 (DIR) commit 9e5cf68e93b9b7ab7b534cb4dce2fb6dabe86ca2
 (DIR) parent 911a60c02d824b02e698c967420aebe14b937be1
 (HTM) Author: ThomasV <thomasv@gitorious>
       Date:   Thu,  2 Apr 2015 15:19:00 +0200
       
       updates for stdio gui
       
       Diffstat:
         M gui/stdio.py                        |       8 ++++----
       
       1 file changed, 4 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/gui/stdio.py b/gui/stdio.py
       t@@ -99,11 +99,11 @@ class ElectrumGui:
                b = 0 
                messages = []
        
       -        for item in self.wallet.get_tx_history():
       -            tx_hash, confirmations, is_mine, value, fee, balance, timestamp = item
       +        for item in self.wallet.get_history():
       +            tx_hash, confirmations, value, timestamp, balance = item
                    if confirmations:
                        try:
       -                    time_str = datetime.datetime.fromtimestamp( timestamp).isoformat(' ')[:-3]
       +                    time_str = datetime.datetime.fromtimestamp(timestamp).isoformat(' ')[:-3]
                        except Exception:
                            time_str = "unknown"
                    else:
       t@@ -119,7 +119,7 @@ class ElectrumGui:
                print(self.get_balance())
        
            def get_balance(self):
       -        if self.wallet.network.interface and self.wallet.network.interface.is_connected:
       +        if self.wallet.network.is_connected():
                    if not self.wallet.up_to_date:
                        msg = _( "Synchronizing..." )
                    else: