# HG changeset patch # User Robert Terzi rct@r-t.org # Date 1385931834 18000 # Node ID f2f24b5c011c9c364327949168076f0a9c2873ab # Parent a03a1e9a3c99c1bcd85fe4c4a0501d3d02f68980 Chirp help menu should have a link to documentation on the wiki. Fixes #1277
Personally, I think it's kinda silly these days to have in-app documentation for something that is built (and changed) daily. Having what looks like a documentation menu item which just reminds the user to go back to the website they just came from to find the documentation seems even more pointless to me. However, I know I'm not a normal user, so I've (begrudgingly) applied this.
- def do_documentation(self):
d = gtk.MessageDialog(buttons=gtk.BUTTONS_OK, parent=self,
type=gtk.MESSAGE_INFO)
d.set_markup("<b><big>" + _("CHIRP Documentation") + "</big></b>\r\n")
msg = _("Documentation for CHIRP, including FAQs, and help for common " +
"problems is available on the CHIRP web site, please go to\n\n" +
"<a href=\"http://chirp.danplanet.com/projects/chirp/wiki/Documentation\">" +
"http://chirp.danplanet.com/projects/chirp/wiki/Documentation</a>\n")
d.format_secondary_markup(msg.replace("\n","\r\n"))
d.run()
d.destroy()
I don't enforce 80-character columns tightly for driver submissions since they're often from non-developer types (even though I'd love to be better about that). For the core code, I'd like to keep it tidy whenever possible. I applied the patch and committed a small cleanup on top.
Thanks!
--Dan