Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2004-07-29 16:12:20 +0400
committerMatt Ebb <matt@mke3.net>2004-07-29 16:12:20 +0400
commit28f0f2d04826750c83d09ddda3b59dd5ee07f9f6 (patch)
treed4367a608a13acd91940012b7ea8faedcc89019c /source/blender/python/BPY_menus.c
parent7ed803f6a8b675efc0e5ee38f0c50ea0b7be0045 (diff)
Help menu!
Thanks to Willian for integrating the webbrowser module. Some of the URLs (Python reference, Release notes) will need to be updated upon release. These are contained in http://www.blender3d.org/Help/index.php
Diffstat (limited to 'source/blender/python/BPY_menus.c')
-rw-r--r--source/blender/python/BPY_menus.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/python/BPY_menus.c b/source/blender/python/BPY_menus.c
index a54062165ee..de96c47fe4b 100644
--- a/source/blender/python/BPY_menus.c
+++ b/source/blender/python/BPY_menus.c
@@ -78,6 +78,8 @@ static int bpymenu_group_atoi (char *str)
if (!strcmp(str, "Import")) return PYMENU_IMPORT;
else if (!strcmp(str, "Export")) return PYMENU_EXPORT;
else if (!strcmp(str, "Help")) return PYMENU_HELP;
+ else if (!strcmp(str, "HelpWebsites")) return PYMENU_HELPWEBSITES;
+ else if (!strcmp(str, "HelpSystem")) return PYMENU_HELPSYSTEM;
else if (!strcmp(str, "Add")) return PYMENU_ADD;
else if (!strcmp(str, "Mesh")) return PYMENU_MESH;
else if (!strcmp(str, "Wizards")) return PYMENU_WIZARDS;
@@ -104,6 +106,12 @@ char *BPyMenu_group_itoa (short menugroup)
case PYMENU_HELP:
return "Help";
break;
+ case PYMENU_HELPWEBSITES:
+ return "Websites";
+ break;
+ case PYMENU_HELPSYSTEM:
+ return "System";
+ break;
case PYMENU_MESH:
return "Mesh";
break;