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
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/examples/bpy.types.Menu.2.py2
-rw-r--r--doc/python_api/examples/bpy.types.Operator.2.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/python_api/examples/bpy.types.Menu.2.py b/doc/python_api/examples/bpy.types.Menu.2.py
index a1cce0c3ce2..fbdf747d472 100644
--- a/doc/python_api/examples/bpy.types.Menu.2.py
+++ b/doc/python_api/examples/bpy.types.Menu.2.py
@@ -15,4 +15,4 @@ def menu_draw(self, context):
self.layout.operator("wm.save_homefile")
-bpy.types.INFO_MT_file.append(menu_draw)
+bpy.types.TOPBAR_MT_file.append(menu_draw)
diff --git a/doc/python_api/examples/bpy.types.Operator.2.py b/doc/python_api/examples/bpy.types.Operator.2.py
index d1f0edf15aa..901bd7b21f8 100644
--- a/doc/python_api/examples/bpy.types.Operator.2.py
+++ b/doc/python_api/examples/bpy.types.Operator.2.py
@@ -45,7 +45,7 @@ def menu_func(self, context):
# Register and add to the file selector
bpy.utils.register_class(ExportSomeData)
-bpy.types.INFO_MT_file_export.append(menu_func)
+bpy.types.TOPBAR_MT_file_export.append(menu_func)
# test call