Cleanup: rename specials -> context_menu
In keeping with convention to match code & UI naming. - No user visible changes. - Include 'menu' in the name since context is an overloaded term. - While a few of these are panels, from a user perspective they are still context menus.
This commit is contained in:
@@ -312,7 +312,7 @@ class NODE_PT_node_color_presets(PresetMenu):
|
||||
preset_add_operator = "node.node_color_preset_add"
|
||||
|
||||
|
||||
class NODE_MT_node_color_specials(Menu):
|
||||
class NODE_MT_node_color_context_menu(Menu):
|
||||
bl_label = "Node Color Specials"
|
||||
|
||||
def draw(self, context):
|
||||
@@ -321,7 +321,7 @@ class NODE_MT_node_color_specials(Menu):
|
||||
layout.operator("node.node_copy_color", icon='COPY_ID')
|
||||
|
||||
|
||||
class NODE_MT_specials(Menu):
|
||||
class NODE_MT_context_menu(Menu):
|
||||
bl_label = "Node Context Menu"
|
||||
|
||||
def draw(self, context):
|
||||
@@ -418,7 +418,7 @@ class NODE_PT_active_node_color(Panel):
|
||||
|
||||
row = layout.row()
|
||||
row.prop(node, "color", text="")
|
||||
row.menu("NODE_MT_node_color_specials", text="", icon='DOWNARROW_HLT')
|
||||
row.menu("NODE_MT_node_color_context_menu", text="", icon='DOWNARROW_HLT')
|
||||
|
||||
|
||||
class NODE_PT_active_node_properties(Panel):
|
||||
@@ -623,8 +623,8 @@ classes = (
|
||||
NODE_MT_select,
|
||||
NODE_MT_node,
|
||||
NODE_PT_node_color_presets,
|
||||
NODE_MT_node_color_specials,
|
||||
NODE_MT_specials,
|
||||
NODE_MT_node_color_context_menu,
|
||||
NODE_MT_context_menu,
|
||||
NODE_PT_active_node_generic,
|
||||
NODE_PT_active_node_color,
|
||||
NODE_PT_active_node_properties,
|
||||
|
Reference in New Issue
Block a user