tremove 'prioritize' from qt gui, superseded by coin control - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit fb2e974752a441108aa30ebb8aeb34da07b1636c DIR parent d66b46e9f682a0a348b3daad8e2f21ab84ee2df3 HTML Author: thomasv <thomasv@gitorious> Date: Fri, 22 Nov 2013 11:26:11 +0100 remove 'prioritize' from qt gui, superseded by coin control Diffstat: M gui/qt/main_window.py | 16 ---------------- 1 file changed, 0 insertions(+), 16 deletions(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -1018,14 +1018,6 @@ class ElectrumWindow(QMainWindow): self.wallet.freeze(addr) self.update_receive_tab() - def set_addrs_prioritized(self,addrs,prioritize): - for addr in addrs: - if not addr: continue - if addr in self.wallet.prioritized_addresses and not prioritize: - self.wallet.unprioritize(addr) - elif addr not in self.wallet.prioritized_addresses and prioritize: - self.wallet.prioritize(addr) - self.update_receive_tab() def create_list_tab(self, headers): t@@ -1168,12 +1160,6 @@ class ElectrumWindow(QMainWindow): menu.addAction(_("Freeze"), lambda: self.set_addrs_frozen(addrs, True)) if any(addr in self.wallet.frozen_addresses for addr in addrs): menu.addAction(_("Unfreeze"), lambda: self.set_addrs_frozen(addrs, False)) - if any(addr not in self.wallet.prioritized_addresses for addr in addrs): - menu.addAction(_("Prioritize"), - lambda: self.set_addrs_prioritized(addrs, True)) - if any(addr in self.wallet.prioritized_addresses for addr in addrs): - menu.addAction(_("Unprioritize"), - lambda: self.set_addrs_prioritized(addrs, False)) menu.addAction(_("Send From"), lambda: self.send_from_addresses(addrs)) t@@ -1256,8 +1242,6 @@ class ElectrumWindow(QMainWindow): item.setForeground(3,QColor('gray')) elif address in self.wallet.frozen_addresses: item.setBackgroundColor(0, QColor('lightblue')) - elif address in self.wallet.prioritized_addresses: - item.setBackgroundColor(0, QColor('lightgreen')) def update_receive_tab(self):