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:
authorCampbell Barton <ideasman42@gmail.com>2019-03-12 02:59:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-12 03:05:28 +0300
commit3017d88aec7f3f44ba9db930920ac2a51aef750d (patch)
tree726484eaee7279c0ec6ab45d57b7679f3af2c8fc /release/scripts/startup/bl_ui/properties_data_gpencil.py
parente6eb7b9ccee134f0f94cae6f817a29adf029a8d4 (diff)
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.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_gpencil.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_gpencil.py6
1 files changed, 3 insertions, 3 deletions
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,
)