diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-12 02:59:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-12 03:05:28 +0300 |
commit | 3017d88aec7f3f44ba9db930920ac2a51aef750d (patch) | |
tree | 726484eaee7279c0ec6ab45d57b7679f3af2c8fc /release/scripts/startup/bl_ui/space_clip.py | |
parent | e6eb7b9ccee134f0f94cae6f817a29adf029a8d4 (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/space_clip.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_clip.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py index 5ec80a59f51..58955722aaa 100644 --- a/release/scripts/startup/bl_ui/space_clip.py +++ b/release/scripts/startup/bl_ui/space_clip.py @@ -1008,7 +1008,7 @@ class CLIP_PT_stabilization(CLIP_PT_reconstruction_panel, Panel): sub.operator("clip.stabilize_2d_add", icon='ADD', text="") sub.operator("clip.stabilize_2d_remove", icon='REMOVE', text="") - sub.menu('CLIP_MT_stabilize_2d_specials', text="", + sub.menu('CLIP_MT_stabilize_2d_context_menu', text="", icon='DOWNARROW_HLT') # Usually we don't hide things from iterface, but here every pixel of @@ -1025,7 +1025,7 @@ class CLIP_PT_stabilization(CLIP_PT_reconstruction_panel, Panel): sub.operator("clip.stabilize_2d_rotation_add", icon='ADD', text="") sub.operator("clip.stabilize_2d_rotation_remove", icon='REMOVE', text="") - sub.menu('CLIP_MT_stabilize_2d_rotation_specials', text="", + sub.menu('CLIP_MT_stabilize_2d_rotation_context_menu', text="", icon='DOWNARROW_HLT') col = layout.column() @@ -1430,7 +1430,7 @@ class CLIP_MT_select_grouped(Menu): layout.operator_enum("clip.select_grouped", "group") -class CLIP_MT_tracking_specials(Menu): +class CLIP_MT_tracking_context_menu(Menu): bl_label = "Specials" @classmethod @@ -1484,7 +1484,7 @@ class CLIP_PT_tracking_settings_presets(PresetMenu): preset_add_operator = "clip.tracking_settings_preset_add" -class CLIP_MT_stabilize_2d_specials(Menu): +class CLIP_MT_stabilize_2d_context_menu(Menu): bl_label = "Translation Track Specials" def draw(self, context): @@ -1493,7 +1493,7 @@ class CLIP_MT_stabilize_2d_specials(Menu): layout.operator("clip.stabilize_2d_select") -class CLIP_MT_stabilize_2d_rotation_specials(Menu): +class CLIP_MT_stabilize_2d_rotation_context_menu(Menu): bl_label = "Rotation Track Specials" def draw(self, context): @@ -1563,12 +1563,12 @@ classes = ( CLIP_MT_track_transform, CLIP_MT_select, CLIP_MT_select_grouped, - CLIP_MT_tracking_specials, + CLIP_MT_tracking_context_menu, CLIP_PT_camera_presets, CLIP_PT_track_color_presets, CLIP_PT_tracking_settings_presets, - CLIP_MT_stabilize_2d_specials, - CLIP_MT_stabilize_2d_rotation_specials, + CLIP_MT_stabilize_2d_context_menu, + CLIP_MT_stabilize_2d_rotation_context_menu, CLIP_MT_pivot_pie, ) |