electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 3722aeca4597ed98ec4366439f91377ce31c9154
parent 546c0cc57bbfdb4cf6381436b1df599367ec4d58
Author: ThomasV <thomasv@gitorious>
Date:   Sun, 12 Jul 2015 11:26:10 +0200

rename method

Diffstat:
Mgui/qt/main_window.py | 4++--
Mplugins/email.py | 3---
2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -985,7 +985,7 @@ class ElectrumWindow(QMainWindow): self.fee_e.textChanged.connect(entry_changed) self.invoices_label = QLabel(_('Invoices')) - self.invoices_list = MyTreeWidget(self, self.create_invoice_menu, + self.invoices_list = MyTreeWidget(self, self.invoices_list_menu, [_('Date'), _('Requestor'), _('Description'), _('Amount'), _('Status')], 2) self.invoices_list.header().setResizeMode(1, QHeaderView.Interactive) self.invoices_list.setColumnWidth(1, 200) @@ -1561,7 +1561,7 @@ class ElectrumWindow(QMainWindow): self.payment_request_error() - def create_invoice_menu(self, position): + def invoices_list_menu(self, position): item = self.invoices_list.itemAt(position) if not item: return diff --git a/plugins/email.py b/plugins/email.py @@ -140,9 +140,6 @@ class Plugin(BasePlugin): self.win = gui.main_window self.win.connect(self.win, SIGNAL('email:new_invoice'), self.new_invoice) - #self.send_button = EnterButton(_('Send'), self.send) - #self.win.receive_buttons.insertWidget(1, self.send_button) - @hook def receive_list_menu(self, menu, addr): menu.addAction(_("Send via e-mail"), lambda: self.send(addr))