default name of keymap to 'keymap.py' + pedantic pep8 edits

This commit is contained in:
Campbell Barton
2009-11-18 01:30:28 +00:00
parent 5ad1563f34
commit 7807a37b89
5 changed files with 5 additions and 4 deletions

View 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)