diff modules/Action.lua @ 223:c4b134512c50

Move RegisterBarType from modules to button classes
author Flick <flickerstreak@gmail.com>
date Mon, 22 Nov 2010 10:25:18 -0800
parents a4e7475633b3
children 0e20f65375d5
line wrap: on
line diff
--- a/modules/Action.lua	Sun Nov 21 14:42:38 2010 -0800
+++ b/modules/Action.lua	Mon Nov 22 10:25:18 2010 -0800
@@ -29,12 +29,10 @@
 end
 
 function module:OnEnable()
-  ReAction:RegisterBarType(Button, true)
   ReAction:GetModule("State"):RegisterStateProperty("page", nil, PropHandler.GetOptions(), PropHandler)
 end
 
 function module:OnDisable()
-  ReAction:UnregisterBarType(Button)
   ReAction:GetModule("State"):UnregisterStateProperty("page")
 end