diff options
Diffstat (limited to 'release/scripts/ui/space_text.py')
-rw-r--r-- | release/scripts/ui/space_text.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/release/scripts/ui/space_text.py b/release/scripts/ui/space_text.py index 0b7e215dc37..163fa07e1d6 100644 --- a/release/scripts/ui/space_text.py +++ b/release/scripts/ui/space_text.py @@ -131,12 +131,12 @@ class TEXT_PT_find(bpy.types.Panel): class TEXT_MT_view(bpy.types.Menu): bl_label = "View" - + def draw(self, context): layout = self.layout - + layout.operator("text.properties", icon='MENU_PANEL') - + layout.separator() layout.operator("screen.area_dupli") @@ -146,8 +146,8 @@ class TEXT_MT_view(bpy.types.Menu): layout.operator("text.move", text="Top of File").type = 'FILE_TOP' layout.operator("text.move", text="Bottom of File").type = 'FILE_BOTTOM' - - + + class TEXT_MT_text(bpy.types.Menu): bl_label = "Text" @@ -293,6 +293,7 @@ class TEXT_MT_toolbox(bpy.types.Menu): layout.operator("text.run_script") + def register(): pass |