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") diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c index 0cc0037567a..c2f3be0d881 100644 --- a/source/blender/editors/space_text/text_ops.c +++ b/source/blender/editors/space_text/text_ops.c @@ -186,7 +186,7 @@ static int text_new_exec(bContext *C, wmOperator *UNUSED(op)) void TEXT_OT_new(wmOperatorType *ot) { /* identifiers */ - ot->name = "Create Text Block"; + ot->name = "New Text"; ot->idname = "TEXT_OT_new"; ot->description = "Create a new text data-block"; @@ -280,7 +280,7 @@ static int text_open_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(e void TEXT_OT_open(wmOperatorType *ot) { /* identifiers */ - ot->name = "Open Text Block"; + ot->name = "Open Text"; ot->idname = "TEXT_OT_open"; ot->description = "Open a new text data-block";