1
0

remove prioritize altogether.

This commit is contained in:
ThomasV
2013-11-22 16:55:43 +01:00
parent 00cbb93e96
commit 9b22372c43
3 changed files with 3 additions and 55 deletions

View File

@@ -1080,20 +1080,6 @@ class ElectrumWindow:
button.show()
hbox.pack_start(button,False)
button = gtk.Button("Prioritize")
def prioritize_address(w, treeview, liststore, wallet):
path, col = treeview.get_cursor()
if path:
address = liststore.get_value( liststore.get_iter(path), 0)
if address in wallet.prioritized_addresses:
wallet.unprioritize(address)
else:
wallet.prioritize(address)
self.update_receiving_tab()
button.connect("clicked", prioritize_address, treeview, liststore, self.wallet)
button.show()
hbox.pack_start(button,False)
if not is_recv:
button = gtk.Button("Pay to")
def payto(w, treeview, liststore):
@@ -1153,7 +1139,6 @@ class ElectrumWindow:
Type = "I"
c, u = self.wallet.get_addr_balance(address)
if address in self.wallet.frozen_addresses: Type = Type + "F"
if address in self.wallet.prioritized_addresses: Type = Type + "P"
label = self.wallet.labels.get(address)
h = self.wallet.history.get(address,[])
n = len(h)