From a61d1ad44bea6b9b109da243bdab5490d992cdbc Mon Sep 17 00:00:00 2001 From: Amir Taaki Date: Sun, 12 Aug 2012 21:48:51 +0100 Subject: [PATCH] open electrum-desktop.com website instead of manual. --- lib/gui_lite.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/gui_lite.py b/lib/gui_lite.py index 5532d7a2..22106ffb 100644 --- a/lib/gui_lite.py +++ b/lib/gui_lite.py @@ -200,7 +200,8 @@ class MiniWindow(QDialog): settings_menu.addAction(_("&Configure Electrum")) help_menu = menubar.addMenu(_("&Help")) - help_menu.addAction(_("&Contents")) + the_website = help_menu.addAction(_("&Website")) + self.connect(the_website, SIGNAL("triggered()"), self.the_website) help_menu.addSeparator() report_bug = help_menu.addAction(_("&Report Bug")) self.connect(report_bug, SIGNAL("triggered()"), self.show_report_bug) @@ -340,6 +341,9 @@ class MiniWindow(QDialog): def acceptbit(self): self.actuator.acceptbit(self.quote_currencies[0]) + def the_website(self): + webbrowser.open("http://electrum-desktop.com") + def show_about(self): QMessageBox.about(self, "Electrum", _("Electrum's focus is speed, with low resource usage and simplifying Bitcoin. You do not need to perform regular backups, because your wallet can be recovered from a secret phrase that you can memorize or write on paper. Startup times are instant because it operates in conjuction with high-performance servers that handle the most complicated parts of the Bitcoin system."))