change blender python interface for classes not to ise __idname__ rather bl_idname...
[blender-staging.git] / release / scripts / ui / space_outliner.py
index 40816309e7e97fd86d0eec65a54abcd71a1d7d85..b3cb04e9286c50768fce0a49762a3bdac36909ed 100644 (file)
@@ -2,7 +2,7 @@
 import bpy
 
 class OUTLINER_HT_header(bpy.types.Header):
-       __space_type__ = 'OUTLINER'
+       bl_space_type = 'OUTLINER'
 
        def draw(self, context):
                layout = self.layout
@@ -41,7 +41,7 @@ class OUTLINER_HT_header(bpy.types.Header):
                                row.itemL(text="No Keying Set active")
 
 class OUTLINER_MT_view(bpy.types.Menu):
-       __label__ = "View"
+       bl_label = "View"
 
        def draw(self, context):
                layout = self.layout
@@ -58,7 +58,7 @@ class OUTLINER_MT_view(bpy.types.Menu):
                col.itemO("outliner.show_hierarchy")
                
 class OUTLINER_MT_edit_datablocks(bpy.types.Menu):
-       __label__ = "Edit"
+       bl_label = "Edit"
        
        def draw(self, context):
                layout = self.layout