URI: 
       tremove gap setting from gui; this should be modified by conscious users only. - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 12e19d34080fb3f33df3e65a37c3e32fcc9936d7
   DIR parent 5af496ceb55fb5ba8403cc320064e415dd6d8039
  HTML Author: thomasv <thomasv@gitorious>
       Date:   Fri, 16 Dec 2011 12:27:41 +0100
       
       remove gap setting from gui; this should be modified by conscious users only.
       
       Diffstat:
         M client/gui.py                       |       5 +----
       
       1 file changed, 1 insertion(+), 4 deletions(-)
       ---
   DIR diff --git a/client/gui.py b/client/gui.py
       t@@ -191,7 +191,7 @@ def run_settings_dialog(wallet, is_create, is_recovery, parent):
                seed_box.show()
                vbox.pack_start(seed_box, False, False, 5)    
        
       -    if is_recovery or (not is_create):
       +    if is_recovery:
                gap = gtk.HBox()
                gap_label = gtk.Label('Gap limit:')
                gap_label.set_size_request(150,10)
       t@@ -251,7 +251,6 @@ def run_settings_dialog(wallet, is_create, is_recovery, parent):
                    seed = mnemonic.mn_decode( seed.split(' ') )
            if not is_create:
                fee = fee_entry.get_text()
       -        gap = gap_entry.get_text()
                
            dialog.destroy()
            if r==gtk.RESPONSE_CANCEL:
       t@@ -270,7 +269,6 @@ def run_settings_dialog(wallet, is_create, is_recovery, parent):
                    gap = int(gap)
                if not is_create:
                    fee = int( 100000000 * Decimal(fee) )
       -            gap = int(gap)
            except:
                show_message("error")
                return
       t@@ -283,7 +281,6 @@ def run_settings_dialog(wallet, is_create, is_recovery, parent):
                wallet.gap_limit = gap
            if not is_create:
                wallet.fee = fee
       -        wallet.gap_limit = gap
            wallet.save()