Permalink
Browse files

Add AddonLoader LoadOn-InterfaceOptions support

  • Loading branch information...
1 parent 49334ac commit ae7ed99e5eba9ce38876bd3e06c8726fb154780a @tekkub tekkub committed May 24, 2011
Showing with 3 additions and 0 deletions.
  1. +2 −0 Config.lua
  2. +1 −0 ControlFreak.toc
View
@@ -15,6 +15,8 @@ local GAP = 8
-- Panel --
---------------------
+if AddonLoader and AddonLoader.RemoveInterfaceOptions then AddonLoader:RemoveInterfaceOptions("Control Freak") end
+
local frame = CreateFrame("Frame", nil, InterfaceOptionsFramePanelContainer)
frame.name = "Control Freak"
frame:Hide()
View
@@ -16,6 +16,7 @@
## X-LoadOn-NotResting: true
## X-LoadOn-Slash: /freak
## X-LoadOn-LDB-Launcher: Interface\AddOns\ControlFreak\icon
+## X-LoadOn-InterfaceOptions: Control Freak
Dongle.lua

0 comments on commit ae7ed99

Please sign in to comment.