URI: 
       tformat inputs so that they fit on one line - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 8b7c3a201cc599e1cccaa496e3d05c12cb26e5a8
   DIR parent 80a988e3375c6b2c1e6d307275de3ac8038236f3
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Thu, 17 Apr 2014 18:08:08 +0200
       
       format inputs so that they fit on one line
       
       Diffstat:
         M gui/qt/transaction_dialog.py        |       5 ++++-
       
       1 file changed, 4 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py
       t@@ -191,7 +191,10 @@ class TxDialog(QDialog):
                    vbox.addWidget(QLabel("LockTime: %d\n" % self.tx.locktime))
        
                vbox.addWidget(QLabel(_("Inputs")))
       -        lines = map(lambda x: x.get('prevout_hash') + ":%d"%x.get('prevout_n') + u'\t' + "%s"%x.get('address') , self.tx.inputs )
       +        def format_input(x):
       +            _hash = x.get('prevout_hash')
       +            return _hash[0:16] + '...' + _hash[-8:] + ":%d"%x.get('prevout_n') + u'\t' + "%s"%x.get('address')
       +        lines = map(format_input, self.tx.inputs )
                i_text = QTextEdit()
                i_text.setText('\n'.join(lines))
                i_text.setReadOnly(True)