Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-05-01 17:32:55 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-01 17:32:55 +0400
commit2691483e35a157d6d8cba017a06dcc91a7b532b8 (patch)
treeffd69be5acae1b5f3ab2422191b154d0438010d5 /release/scripts/startup/bl_ui/space_info.py
parent7a87b89a6040a9d1c7f29a679972da89af96b50a (diff)
stule cleanup: pep8
Diffstat (limited to 'release/scripts/startup/bl_ui/space_info.py')
-rw-r--r--release/scripts/startup/bl_ui/space_info.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/release/scripts/startup/bl_ui/space_info.py b/release/scripts/startup/bl_ui/space_info.py
index 778e66bffcc..0c38829b54f 100644
--- a/release/scripts/startup/bl_ui/space_info.py
+++ b/release/scripts/startup/bl_ui/space_info.py
@@ -348,21 +348,22 @@ class INFO_MT_render(Menu):
layout.operator("render.view_show")
layout.operator("render.play_rendered_anim")
-
-class INFO_MT_window(bpy.types.Menu):
+
+
+class INFO_MT_window(Menu):
bl_label = "Window"
-
+
def draw(self, context):
import sys
-
+
layout = self.layout
-
+
layout.operator("wm.window_duplicate")
layout.operator("wm.window_fullscreen_toggle", icon='FULLSCREEN_ENTER')
if sys.platform[:3] == "win":
layout.separator()
layout.operator("wm.console_toggle", icon='CONSOLE')
-
+
class INFO_MT_help(Menu):
bl_label = "Help"
@@ -389,7 +390,7 @@ class INFO_MT_help(Menu):
layout.operator("anim.update_data_paths", text="FCurve/Driver Version fix", icon='HELP')
layout.operator("logic.texface_convert", text="TexFace to Material Convert", icon='GAME')
layout.separator()
-
+
layout.operator("wm.splash", icon='BLENDER')
if __name__ == "__main__": # only for live edit.