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
This commit is contained in:
parent
c9daab7936
commit
58043c0637
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue