From 3017d88aec7f3f44ba9db930920ac2a51aef750d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 12 Mar 2019 10:59:57 +1100 Subject: 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. --- release/scripts/startup/bl_ui/properties_data_gpencil.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'release/scripts/startup/bl_ui/properties_data_gpencil.py') diff --git a/release/scripts/startup/bl_ui/properties_data_gpencil.py b/release/scripts/startup/bl_ui/properties_data_gpencil.py index c6626b555fb..0a4a17eda82 100644 --- a/release/scripts/startup/bl_ui/properties_data_gpencil.py +++ b/release/scripts/startup/bl_ui/properties_data_gpencil.py @@ -80,7 +80,7 @@ class DATA_PT_context_gpencil(DataButtonsPanel, Panel): layout.template_ID(space, "pin_id") -class GPENCIL_MT_layer_specials(Menu): +class GPENCIL_MT_layer_context_menu(Menu): bl_label = "Layer" def draw(self, context): @@ -154,7 +154,7 @@ class DATA_PT_gpencil_layers(DataButtonsPanel, Panel): sub.operator("gpencil.layer_remove", icon='REMOVE', text="") if gpl: - sub.menu("GPENCIL_MT_layer_specials", icon='DOWNARROW_HLT', text="") + sub.menu("GPENCIL_MT_layer_context_menu", icon='DOWNARROW_HLT', text="") if len(gpd.layers) > 1: col.separator() @@ -461,7 +461,7 @@ classes = ( GPENCIL_UL_vgroups, - GPENCIL_MT_layer_specials, + GPENCIL_MT_layer_context_menu, GPENCIL_MT_gpencil_vertex_group, ) -- cgit v1.2.3