Page Menu
Home
Search
Configure Global Search
Log In
Files
F12475
window_menu.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Elia Sarti (vekoon)
Nov 13 2013, 2:34 PM
Size
1 KB
Subscribers
None
window_menu.patch
View Options
Index: release/scripts/ui/space_info.py
===================================================================
--- release/scripts/ui/space_info.py (revision 33045)
+++ release/scripts/ui/space_info.py (working copy)
@@ -43,6 +43,7 @@
sub.menu("INFO_MT_game")
else:
sub.menu("INFO_MT_render")
+ sub.menu("INFO_MT_window")
sub.menu("INFO_MT_help")
if window.screen.show_fullscreen:
@@ -66,10 +67,6 @@
layout.label(text=scene.statistics())
- # XXX: this should be right-aligned to the RHS of the region
- layout.operator("wm.window_fullscreen_toggle", icon='FULLSCREEN_ENTER', text="")
-
-
# XXX: BEFORE RELEASE, MOVE FILE MENU OUT OF INFO!!!
"""
row = layout.row(align=True)
@@ -356,6 +353,16 @@
layout.operator("render.play_rendered_anim")
+class INFO_MT_window(bpy.types.Menu):
+ bl_label = "Window"
+
+ def draw(self, context):
+ layout = self.layout
+
+ layout.operator("wm.window_duplicate")
+ layout.operator("wm.window_fullscreen_toggle", icon='FULLSCREEN_ENTER')
+
+
class INFO_MT_help(bpy.types.Menu):
bl_label = "Help"
File Metadata
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6f/48/34bdb4aea097d51b795887379489
Event Timeline
Log In to Comment