Fix the about menu option, only display menus if they have items on them,

and add a management menu for future use.
This commit is contained in:
Dave Page
2015-02-20 10:43:50 -05:00
parent 7179b79b8c
commit bedaa52693
3 changed files with 25 additions and 10 deletions
+2 -1
View File
@@ -16,7 +16,8 @@ import config
def get_help_menu_items():
"""Return a (set) of dicts of help menu items, with name, priority, URL and
onclick code."""
return [{'name': 'About %s' % (config.APP_NAME),
return [{'name': 'mnu_about',
'label': 'About %s' % (config.APP_NAME),
'priority': 999,
'url': "#",
'onclick': "about_show()"}]