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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-03-04 17:24:23 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-03-04 18:08:04 +0300
commit708eb5501815e1dadb168d87573cde3d97192e83 (patch)
tree09661c6036be8b485af30c7d0aae3e134f66dbc2 /release
parent10d9a2494fc5e28142a82e515e1f5dcaa3223d5a (diff)
UI: make text editor Text menu consistent with menus for .blend and images.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_text.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/space_text.py b/release/scripts/startup/bl_ui/space_text.py
index e7ead3f8196..6726a5d319d 100644
--- a/release/scripts/startup/bl_ui/space_text.py
+++ b/release/scripts/startup/bl_ui/space_text.py
@@ -200,20 +200,21 @@ class TEXT_MT_text(Menu):
st = context.space_data
text = st.text
- layout.operator("text.new")
- layout.operator("text.open")
+ layout.operator("text.new", text="New")
+ layout.operator("text.open", text="Open...", icon='FILE_FOLDER')
if text:
+ layout.separator()
layout.operator("text.reload")
- layout.column()
- layout.operator("text.save")
- layout.operator("text.save_as")
+ layout.separator()
+ layout.operator("text.save", icon='FILE_TICK')
+ layout.operator("text.save_as", text="Save As...")
if text.filepath:
layout.operator("text.make_internal")
- layout.column()
+ layout.separator()
layout.operator("text.run_script")