diff options
author | Thomas Dinges <blender@dingto.org> | 2012-11-04 22:26:30 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2012-11-04 22:26:30 +0400 |
commit | 83b5d7d2cd8aae0ac6482f813fd2d37f3a9ce0ed (patch) | |
tree | 49a802ef113e729fc4193c6ee12d6e7e2190b00d /release/scripts/startup/bl_ui | |
parent | 35c6e592e312b319f40eaa7e17b2b414dd3fa20f (diff) |
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.
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/space_logic.py | 5 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_text.py | 12 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_time.py | 5 |
3 files changed, 16 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/space_logic.py b/release/scripts/startup/bl_ui/space_logic.py index 846169b3339..730398171d6 100644 --- a/release/scripts/startup/bl_ui/space_logic.py +++ b/release/scripts/startup/bl_ui/space_logic.py @@ -107,5 +107,10 @@ class LOGIC_MT_view(Menu): 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. bpy.utils.register_module(__name__) diff --git a/release/scripts/startup/bl_ui/space_text.py b/release/scripts/startup/bl_ui/space_text.py index 8a853a09199..a64f8aa4aed 100644 --- a/release/scripts/startup/bl_ui/space_text.py +++ b/release/scripts/startup/bl_ui/space_text.py @@ -154,12 +154,7 @@ class TEXT_MT_view(Menu): layout = self.layout layout.operator("text.properties", icon='MENU_PANEL') - - layout.separator() - - layout.operator("screen.area_dupli") - layout.operator("screen.screen_full_area") - + layout.separator() layout.operator("text.move", @@ -169,6 +164,11 @@ class TEXT_MT_view(Menu): text="Bottom of File", ).type = 'FILE_BOTTOM' + layout.separator() + + layout.operator("screen.area_dupli") + layout.operator("screen.screen_full_area") + class TEXT_MT_text(Menu): bl_label = "Text" diff --git a/release/scripts/startup/bl_ui/space_time.py b/release/scripts/startup/bl_ui/space_time.py index ed1d2a0ae24..cb9e2444793 100644 --- a/release/scripts/startup/bl_ui/space_time.py +++ b/release/scripts/startup/bl_ui/space_time.py @@ -127,6 +127,11 @@ class TIME_MT_view(Menu): layout.operator("marker.camera_bind") + layout.separator() + + layout.operator("screen.area_dupli") + layout.operator("screen.screen_full_area") + class TIME_MT_cache(Menu): bl_label = "Cache" |