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>2011-01-01 10:20:34 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-01-01 10:20:34 +0300
commit7f3fe8a2df0f5ecabdc87f441ca033b83c9fe575 (patch)
tree6ea076deb41524bf3b377e9ed26fc73b3d81f001 /release/scripts/ui/space_info.py
parent2840e7b7645130f79cb92c5b899228c5ab826bd5 (diff)
pep8 cleanup
Diffstat (limited to 'release/scripts/ui/space_info.py')
-rw-r--r--release/scripts/ui/space_info.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/ui/space_info.py b/release/scripts/ui/space_info.py
index fdcfa8c4222..dda21dea84e 100644
--- a/release/scripts/ui/space_info.py
+++ b/release/scripts/ui/space_info.py
@@ -69,7 +69,6 @@ class INFO_HT_header(bpy.types.Header):
# 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)
@@ -82,7 +81,7 @@ class INFO_HT_header(bpy.types.Header):
row = layout.row()
row.enabled = sinfo.show_report_operator
row.operator("info.report_replay")
-
+
row.menu("INFO_MT_report")
"""
@@ -220,6 +219,7 @@ class INFO_MT_curve_add(bpy.types.Menu):
layout.operator("curve.primitive_nurbs_circle_add", icon='CURVE_NCIRCLE', text="Nurbs Circle")
layout.operator("curve.primitive_nurbs_path_add", icon='CURVE_PATH', text="Path")
+
class INFO_MT_edit_curve_add(bpy.types.Menu):
bl_idname = "INFO_MT_edit_curve_add"
bl_label = "Add"
@@ -231,9 +231,9 @@ class INFO_MT_edit_curve_add(bpy.types.Menu):
layout.operator_context = 'INVOKE_REGION_WIN'
if is_surf:
- INFO_MT_surface_add.draw(self, context)
+ INFO_MT_surface_add.draw(self, context)
else:
- INFO_MT_curve_add.draw(self, context)
+ INFO_MT_curve_add.draw(self, context)
class INFO_MT_surface_add(bpy.types.Menu):