tMerge pull request #392 from wozz/gtk - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 8d943ff9a2b0b9fe67a4333cfe378457af81c6d0 DIR parent 5be9b7c669d45016492a04e403453b9c267a465d HTML Author: ThomasV <thomasv1@gmx.de> Date: Mon, 11 Nov 2013 00:13:07 -0800 Merge pull request #392 from wozz/gtk Gtk update Diffstat: M gui/gtk.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+), 0 deletions(-) --- DIR diff --git a/gui/gtk.py b/gui/gtk.py t@@ -1080,6 +1080,20 @@ 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):