[kupfer/mallard-documentation: 7/7] kupferui: Show bundled documentation with show_help



commit dec57a97f905a6dbd9e641a4f7a9a7a3b8159dbc
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Mon Dec 7 10:17:24 2009 +0100

    kupferui: Show bundled documentation with show_help

 kupfer/kupferui.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/kupfer/kupferui.py b/kupfer/kupferui.py
index 7f4b2e5..4511730 100644
--- a/kupfer/kupferui.py
+++ b/kupfer/kupferui.py
@@ -9,8 +9,8 @@ def show_help():
 	"""
 	Show Kupfer help pages, if possible
 	"""
-	utils.show_url(version.WEBSITE)
-
+	if not utils.show_url("ghelp:%s" % version.PACKAGE_NAME):
+		utils.show_url(version.WEBSITE)
 
 _about_dialog = None
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]