diff modules/HideBlizzard.lua @ 182:55c2fc0c8d55

Collect options in one file clean up ReAction.lua a bit remove AceConsole-3.0
author Flick <flickerstreak@gmail.com>
date Thu, 21 Oct 2010 22:07:11 +0000
parents df68b5a40490
children
line wrap: on
line diff
--- a/modules/HideBlizzard.lua	Wed Oct 20 23:42:40 2010 +0000
+++ b/modules/HideBlizzard.lua	Thu Oct 21 22:07:11 2010 +0000
@@ -37,31 +37,6 @@
   -- bother to hide your buttons, they'll obscure some parts of the vehicle bar.
   VehicleMenuBar:SetFrameLevel(VehicleMenuBar:GetFrameLevel()+3)
 
-  ReAction:RegisterOptions(self, {
-      hide = {
-        name = L["Hide Blizzard Action Bars"],
-        desc = L["Hide the default main bar and extra action bars"],
-        type = "toggle",
-        order = 10,
-        width = "double",
-        handler = self,
-        get  = "IsHidden",
-        set  = "SetHidden",
-        disabled = "OptionDisabled",
-      },
-      hideVehicle = {
-        name = L["Hide Blizzard Vehicle Bar"],
-        desc = L["Hide the default vechicle action bar"],
-        type = "toggle",
-        order = 11,
-        width = "double",
-        handler = self,
-        get  = "IsHidden",
-        set  = "SetHidden",
-        disabled = "OptionDisabled",
-      },
-    }, true) -- global
-
 end
 
 function module:OnEnable()
@@ -135,6 +110,6 @@
 InterfaceOptionsActionBarsPanel:HookScript("OnShow", 
   function() 
     if module:IsEnabled() and module:IsHidden() then
-      ReAction:ShowConfig()
+      ReAction:ShowOptions()
     end
   end )