From: Nikos Skalkotos Date: Tue, 19 Mar 2013 15:17:32 +0000 (+0200) Subject: In the main menu add action for the help button X-Git-Tag: v0.2.5~1 X-Git-Url: https://code.grnet.gr/git/snf-image-creator/commitdiff_plain/aa04fb4ee88a5b6d7c733b4d387e204d3d8fc75b In the main menu add action for the help button Display the online documentation url --- 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)