From: Amir Taaki Date: Sun, 12 Aug 2012 20:48:51 +0000 (+0100) Subject: open electrum-desktop.com website instead of manual. X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=a61d1ad44bea6b9b109da243bdab5490d992cdbc;p=electrum-nvc.git open electrum-desktop.com website instead of manual. --- diff --git a/lib/gui_lite.py b/lib/gui_lite.py index 5532d7a..22106ff 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."))