fix for registering problem
authorDalai Felinto <dfelinto@gmail.com>
Thu, 27 Jan 2011 18:56:42 +0000 (18:56 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Thu, 27 Jan 2011 18:56:42 +0000 (18:56 +0000)
text_editor_pasteall.py

index 6f74e777099c6903766b136aba3095d90bb58c2e..5a9a308a098951040411cd26688c0ad504f6a0e9 100644 (file)
@@ -20,8 +20,8 @@ bl_info = {
     "name": "PasteAll",
     "author": "Dalai Felinto (dfelinto)",
     "version": (0,5),
-    "blender": (2, 5, 4),
-    "api": 31999,
+    "blender": (2, 5, 6),
+    "api": 34529,
     "location": "Text editor > Properties panel",
     "description": "Send your selection or text to www.pasteall.org",
     "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"\
@@ -60,12 +60,12 @@ class TEXT_PT_pasteall(bpy.types.Panel):
 
     def draw(self, context):
         layout = self.layout        
-        layout.operator("text.PasteAll", icon='URL')
+        layout.operator("text.pasteall", icon='URL')
         layout.prop(context.scene, "use_webbrowser")
 
-class PasteAllOperator(bpy.types.Operator):
+class TEXT_OT_pasteall(bpy.types.Operator):
     ''''''
-    bl_idname = "text.PasteAll"
+    bl_idname = "text.pasteall"
     bl_label = "PasteAll.org"
     bl_description = "Send the current text or selection to www.pasteall.org"
 
@@ -214,5 +214,4 @@ def unregister():
     del bpy.types.Scene.use_webbrowser
 
 if __name__ == "__main__":
-    register()
-
+    register()
\ No newline at end of file