open electrum-desktop.com website instead of manual.
authorAmir Taaki <genjix@riseup.net>
Sun, 12 Aug 2012 20:48:51 +0000 (21:48 +0100)
committerAmir Taaki <genjix@riseup.net>
Sun, 12 Aug 2012 20:48:51 +0000 (21:48 +0100)
lib/gui_lite.py

index 5532d7a..22106ff 100644 (file)
@@ -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."))