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/space_filebrowser.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/space_filebrowser.py')
-rw-r--r--release/scripts/startup/bl_ui/space_filebrowser.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_filebrowser.py b/release/scripts/startup/bl_ui/space_filebrowser.py
index 2eacae81057..fba7933b9cb 100644
--- a/release/scripts/startup/bl_ui/space_filebrowser.py
+++ b/release/scripts/startup/bl_ui/space_filebrowser.py
@@ -153,7 +153,7 @@ class FILEBROWSER_PT_system_bookmarks(Panel):
space, "system_bookmarks_active", item_dyntip_propname="path", rows=1, maxrows=10)
-class FILEBROWSER_MT_bookmarks_specials(Menu):
+class FILEBROWSER_MT_bookmarks_context_menu(Menu):
bl_label = "Bookmarks Specials"
def draw(self, context):
@@ -185,7 +185,7 @@ class FILEBROWSER_PT_bookmarks(Panel):
col = row.column(align=True)
col.operator("file.bookmark_add", icon='ADD', text="")
col.operator("file.bookmark_delete", icon='REMOVE', text="")
- col.menu("FILEBROWSER_MT_bookmarks_specials", icon='DOWNARROW_HLT', text="")
+ col.menu("FILEBROWSER_MT_bookmarks_context_menu", icon='DOWNARROW_HLT', text="")
if num_rows > 1:
col.separator()
@@ -263,7 +263,7 @@ classes = (
FILEBROWSER_UL_dir,
FILEBROWSER_PT_system_folders,
FILEBROWSER_PT_system_bookmarks,
- FILEBROWSER_MT_bookmarks_specials,
+ FILEBROWSER_MT_bookmarks_context_menu,
FILEBROWSER_PT_bookmarks,
FILEBROWSER_PT_recent_folders,
FILEBROWSER_PT_advanced_filter,