default name of keymap to 'keymap.py' + pedantic pep8 edits
authorCampbell Barton <ideasman42@gmail.com>
Wed, 18 Nov 2009 01:30:28 +0000 (01:30 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 18 Nov 2009 01:30:28 +0000 (01:30 +0000)
release/scripts/ui/properties_data_bone.py
release/scripts/ui/properties_data_curve.py
release/scripts/ui/space_console.py
release/scripts/ui/space_info.py
release/scripts/ui/space_userpref.py

index 08dbe86..2a93f4f 100644 (file)
@@ -274,6 +274,7 @@ class BONE_PT_deform(BoneButtonsPanel):
         col.itemL(text="Offset:")
         col.itemR(bone, "cyclic_offset")
 
+
 class BONE_PT_properties(BoneButtonsPanel):
     bl_label = "Properties"
     bl_default_closed = True
@@ -286,7 +287,7 @@ class BONE_PT_properties(BoneButtonsPanel):
             item = "active_pchan"
         else:
             item = "active_bone"
-        
+
         rna_prop_ui.draw(self.layout, context, item)
 
 bpy.types.register(BONE_PT_context_bone)
index 87efa20..63d56fb 100644 (file)
@@ -317,6 +317,7 @@ class DATA_PT_font(DataButtonsPanel):
 
 class DATA_PT_paragraph(DataButtonsPanel):
     bl_label = "Paragraph"
+
     def poll(self, context):
         return (context.object and context.object.type == 'TEXT' and context.curve)
 
index 689a6c4..2404b3b 100644 (file)
@@ -119,7 +119,7 @@ class ConsoleExec(bpy.types.Operator):
     def execute(self, context):
         sc = context.space_data
 
-        module =  __import__("console_" + sc.language)
+        module = __import__("console_" + sc.language)
         execute = getattr(module, "execute", None)
 
         if execute:
index 9fb521c..7d71eb2 100644 (file)
@@ -376,4 +376,3 @@ bpy.ops.add(HELP_OT_developer_community)
 bpy.ops.add(HELP_OT_user_community)
 bpy.ops.add(HELP_OT_report_bug)
 bpy.ops.add(HELP_OT_operator_cheat_sheet)
-
index fc13cbd..d6982db 100644 (file)
@@ -34,7 +34,7 @@ class USERPREF_HT_header(bpy.types.Header):
 
         if userpref.active_section == 'INPUT':
             layout.operator_context = 'INVOKE_DEFAULT'
-            layout.itemO("wm.keyconfig_export", "Export Key Configuration...")
+            layout.item_stringO("wm.keyconfig_export", "path", "keymap.py", "Export Key Configuration...")
 
 
 class USERPREF_MT_view(bpy.types.Menu):