electrum

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

commit 5ff2c45a563e07d995d69642bdda2941621306a2
parent 46419a0457eb69e37749ccda3dc9afe75a21a3c4
Author: Amir Taaki <genjix@riseup.net>
Date:   Sun, 12 Aug 2012 21:31:04 +0100

Added report_bug and show_about hooks for menu.

Diffstat:
Mlib/gui_lite.py | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/gui_lite.py b/lib/gui_lite.py @@ -202,8 +202,10 @@ class MiniWindow(QDialog): help_menu = menubar.addMenu(_("&Help")) help_menu.addAction(_("&Contents")) help_menu.addSeparator() - help_menu.addAction(_("&Report Bug")) - help_menu.addAction(_("&About")) + report_bug = help_menu.addAction(_("&Report Bug")) + self.connect(report_bug, SIGNAL("triggered()"), self.show_report_bug) + show_about = help_menu.addAction(_("&About")) + self.connect(show_about, SIGNAL("triggered()"), self.show_about) main_layout.setMenuBar(menubar) quit_shortcut = QShortcut(QKeySequence("Ctrl+Q"), self)