From aa04fb4ee88a5b6d7c733b4d387e204d3d8fc75b Mon Sep 17 00:00:00 2001
From: Nikos Skalkotos <skalkoto@grnet.gr>
Date: Tue, 19 Mar 2013 17:17:32 +0200
Subject: [PATCH] In the main menu add action for the help button

Display the online documentation url
---
 image_creator/dialog_menu.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/image_creator/dialog_menu.py b/image_creator/dialog_menu.py
index 84d11c7..47e07e2 100644
--- a/image_creator/dialog_menu.py
+++ b/image_creator/dialog_menu.py
@@ -670,6 +670,10 @@ def main_menu(session):
                 d.infobox("Resetting snf-image-creator. Please wait...",
                           width=SMALL_WIDTH)
                 raise Reset
+        elif choice == "Help":
+            d.msgbox("For help, check the online documentation:\n\nhttp://www"
+                     ".synnefo.org/docs/snf-image-creator/latest/",
+                     width=WIDTH, title="Help")
         elif choice in actions:
             actions[choice](session)
 
-- 
GitLab