diff options
Diffstat (limited to 'release/ui/space_text.py')
-rw-r--r-- | release/ui/space_text.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/release/ui/space_text.py b/release/ui/space_text.py index 61e8d3489a5..7b7ec176b72 100644 --- a/release/ui/space_text.py +++ b/release/ui/space_text.py @@ -2,7 +2,7 @@ import bpy class TEXT_HT_header(bpy.types.Header): - __space_type__ = "TEXT_EDITOR" + __space_type__ = 'TEXT_EDITOR' def draw(self, context): st = context.space_data @@ -45,8 +45,8 @@ class TEXT_HT_header(bpy.types.Header): row.itemL(text="Text: Internal") class TEXT_PT_properties(bpy.types.Panel): - __space_type__ = "TEXT_EDITOR" - __region_type__ = "UI" + __space_type__ = 'TEXT_EDITOR' + __region_type__ = 'UI' __label__ = "Properties" def draw(self, context): @@ -64,8 +64,8 @@ class TEXT_PT_properties(bpy.types.Panel): flow.itemR(st, "tab_width") class TEXT_PT_find(bpy.types.Panel): - __space_type__ = "TEXT_EDITOR" - __region_type__ = "UI" + __space_type__ = 'TEXT_EDITOR' + __region_type__ = 'UI' __label__ = "Find" def draw(self, context): @@ -95,7 +95,7 @@ class TEXT_PT_find(bpy.types.Panel): row.itemR(st, "find_all", text="All") class TEXT_MT_text(bpy.types.Menu): - __space_type__ = "TEXT_EDITOR" + __space_type__ = 'TEXT_EDITOR' __label__ = "Text" def draw(self, context): @@ -127,7 +127,7 @@ class TEXT_MT_text(bpy.types.Menu): layout.itemS() - layout.itemO("text.properties", icon="ICON_MENU_PANEL") + layout.itemO("text.properties", icon='ICON_MENU_PANEL') #ifndef DISABLE_PYTHON # XXX layout.column() @@ -136,7 +136,7 @@ class TEXT_MT_text(bpy.types.Menu): #endif class TEXT_MT_edit_view(bpy.types.Menu): - __space_type__ = "TEXT_EDITOR" + __space_type__ = 'TEXT_EDITOR' __label__ = "View" def draw(self, context): @@ -146,7 +146,7 @@ class TEXT_MT_edit_view(bpy.types.Menu): layout.item_enumO("text.move", "type", 'FILE_BOTTOM', text="Bottom of File") class TEXT_MT_edit_select(bpy.types.Menu): - __space_type__ = "TEXT_EDITOR" + __space_type__ = 'TEXT_EDITOR' __label__ = "Select" def draw(self, context): @@ -156,7 +156,7 @@ class TEXT_MT_edit_select(bpy.types.Menu): layout.itemO("text.select_line") class TEXT_MT_edit_markers(bpy.types.Menu): - __space_type__ = "TEXT_EDITOR" + __space_type__ = 'TEXT_EDITOR' __label__ = "Markers" def draw(self, context): @@ -167,7 +167,7 @@ class TEXT_MT_edit_markers(bpy.types.Menu): layout.itemO("text.previous_marker") class TEXT_MT_format(bpy.types.Menu): - __space_type__ = "TEXT_EDITOR" + __space_type__ = 'TEXT_EDITOR' __label__ = "Format" def draw(self, context): @@ -186,7 +186,7 @@ class TEXT_MT_format(bpy.types.Menu): layout.item_menu_enumO("text.convert_whitespace", "type") class TEXT_MT_edit_to3d(bpy.types.Menu): - __space_type__ = "TEXT_EDITOR" + __space_type__ = 'TEXT_EDITOR' __label__ = "Text To 3D Object" def draw(self, context): @@ -196,7 +196,7 @@ class TEXT_MT_edit_to3d(bpy.types.Menu): layout.item_booleanO("text.to_3d_object", "split_lines", True, text="One Object Per Line"); class TEXT_MT_edit(bpy.types.Menu): - __space_type__ = "TEXT_EDITOR" + __space_type__ = 'TEXT_EDITOR' __label__ = "Edit" def poll(self, context): |