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:
authorDalai Felinto <dalai@blender.org>2021-09-16 19:38:27 +0300
committerDalai Felinto <dalai@blender.org>2021-09-16 19:48:59 +0300
commit58043c0637f88f56a26c9cd645d9019780bc4761 (patch)
tree9ee96f67433e0d3594eeafdf844aed37ad75bf0a
parentc9daab7936562b1e02262cd28f1d6cc4dde91d71 (diff)
Rename App Menu to Blender Menu
"App" is a name reserved for the application templates at the moment. It may become its own term in the near future if Templates are separated from "Apps". So since this is a name not exposed to the users we should renamed it sooner than later. Note that this will require scripts to update since the name of the class is renamed here. This also requires an update in the User Manual. Differential Revision: https://developer.blender.org/D12523
-rw-r--r--release/scripts/startup/bl_ui/space_topbar.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py
index bacca6dedc2..b409e9079be 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -209,9 +209,9 @@ class TOPBAR_MT_editor_menus(Menu):
# Allow calling this menu directly (this might not be a header area).
if getattr(context.area, "show_menus", False):
- layout.menu("TOPBAR_MT_app", text="", icon='BLENDER')
+ layout.menu("TOPBAR_MT_blender", text="", icon='BLENDER')
else:
- layout.menu("TOPBAR_MT_app", text="Blender")
+ layout.menu("TOPBAR_MT_blender", text="Blender")
layout.menu("TOPBAR_MT_file")
layout.menu("TOPBAR_MT_edit")
@@ -222,7 +222,7 @@ class TOPBAR_MT_editor_menus(Menu):
layout.menu("TOPBAR_MT_help")
-class TOPBAR_MT_app(Menu):
+class TOPBAR_MT_blender(Menu):
bl_label = "Blender"
def draw(self, _context):
@@ -238,7 +238,7 @@ class TOPBAR_MT_app(Menu):
layout.separator()
- layout.menu("TOPBAR_MT_app_system")
+ layout.menu("TOPBAR_MT_blender_system")
class TOPBAR_MT_file_cleanup(Menu):
@@ -430,7 +430,7 @@ class TOPBAR_MT_file_defaults(Menu):
# Include technical operators here which would otherwise have no way for users to access.
-class TOPBAR_MT_app_system(Menu):
+class TOPBAR_MT_blender_system(Menu):
bl_label = "System"
def draw(self, _context):
@@ -854,8 +854,8 @@ classes = (
TOPBAR_MT_file_context_menu,
TOPBAR_MT_workspace_menu,
TOPBAR_MT_editor_menus,
- TOPBAR_MT_app,
- TOPBAR_MT_app_system,
+ TOPBAR_MT_blender,
+ TOPBAR_MT_blender_system,
TOPBAR_MT_file,
TOPBAR_MT_file_new,
TOPBAR_MT_file_recover,