Editors UI:

* Add "Toggle Full Screen" and "Duplicate Area into New Window" operators to the view menu, was missing in those 2 operators. Patch [#33076] by Harley Acheson, thanks.

* Also moved those two operators to the top in text editor, for consistency.
This commit is contained in:
Thomas Dinges 2012-11-04 18:26:30 +00:00
parent 35c6e592e3
commit 83b5d7d2cd
3 changed files with 16 additions and 6 deletions

@ -107,5 +107,10 @@ class LOGIC_MT_view(Menu):
layout.operator("logic.properties", icon='MENU_PANEL') layout.operator("logic.properties", icon='MENU_PANEL')
layout.separator()
layout.operator("screen.area_dupli")
layout.operator("screen.screen_full_area")
if __name__ == "__main__": # only for live edit. if __name__ == "__main__": # only for live edit.
bpy.utils.register_module(__name__) bpy.utils.register_module(__name__)

@ -157,11 +157,6 @@ class TEXT_MT_view(Menu):
layout.separator() layout.separator()
layout.operator("screen.area_dupli")
layout.operator("screen.screen_full_area")
layout.separator()
layout.operator("text.move", layout.operator("text.move",
text="Top of File", text="Top of File",
).type = 'FILE_TOP' ).type = 'FILE_TOP'
@ -169,6 +164,11 @@ class TEXT_MT_view(Menu):
text="Bottom of File", text="Bottom of File",
).type = 'FILE_BOTTOM' ).type = 'FILE_BOTTOM'
layout.separator()
layout.operator("screen.area_dupli")
layout.operator("screen.screen_full_area")
class TEXT_MT_text(Menu): class TEXT_MT_text(Menu):
bl_label = "Text" bl_label = "Text"

@ -127,6 +127,11 @@ class TIME_MT_view(Menu):
layout.operator("marker.camera_bind") layout.operator("marker.camera_bind")
layout.separator()
layout.operator("screen.area_dupli")
layout.operator("screen.screen_full_area")
class TIME_MT_cache(Menu): class TIME_MT_cache(Menu):
bl_label = "Cache" bl_label = "Cache"