public
Description: WoW Addon - Crowd control assistance
Homepage: http://www.tekkub.net
Clone URL: git://github.com/tekkub/controlfreak.git
Click here to lend your support to: controlfreak and make a donation at www.pledgie.com !
Update for wrath build 8962 config panel breakage
tekkub (author)
Fri Sep 19 21:10:27 -0700 2008
commit  1ea45af03e3a97620f64f5021b2edf92f78da72e
tree    dd15f8c014d4d5fb2854d04cc4c611ccee5a46f6
parent  c338018adb6bc1629c8e6d8853a77cb5ef0d9628
...
1
 
 
2
3
4
...
16
17
18
19
 
20
21
22
...
99
100
101
102
 
103
104
105
...
111
112
113
114
 
...
 
1
2
3
4
5
...
17
18
19
 
20
21
22
23
...
100
101
102
 
103
104
105
106
...
112
113
114
 
115
0
@@ -1,4 +1,5 @@
0
-
0
+if not IS_WRATH_BUILD then InterfaceOptionsFrame_OpenToCategory = InterfaceOptionsFrame_OpenToFrame end
0
+
0
 
0
 if not ControlFreak then return end
0
 
0
@@ -16,7 +17,7 @@ local GAP = 8
0
 -- Panel --
0
 ---------------------
0
 
0
-local frame = CreateFrame("Frame", nil, UIParent)
0
+local frame = CreateFrame("Frame", nil, InterfaceOptionsFramePanelContainer)
0
 frame.name = "Control Freak"
0
 frame:Hide()
0
 frame:SetScript("OnShow", function(frame)
0
@@ -99,7 +100,7 @@ InterfaceOptions_AddCategory(frame)
0
 -----------------------------
0
 
0
 SLASH_CONTROLFREAK1 = "/freak"
0
-SlashCmdList.CONTROLFREAK = function() InterfaceOptionsFrame_OpenToFrame(frame) end
0
+SlashCmdList.CONTROLFREAK = function() InterfaceOptionsFrame_OpenToCategory(frame) end
0
 
0
 
0
 ----------------------------------------
0
@@ -111,4 +112,4 @@ local launcher = ldb:GetDataObjectByName("ControlFreak") or ldb:NewDataObject("C
0
   type = "launcher",
0
   icon = "Interface\\AddOns\\ControlFreak\\icon",
0
 })
0
-function launcher.OnClick() InterfaceOptionsFrame_OpenToFrame(frame) end
0
+function launcher.OnClick() InterfaceOptionsFrame_OpenToCategory(frame) end
...
16
17
18
19
 
20
21
22
...
16
17
18
 
19
20
21
22
0
@@ -16,7 +16,7 @@ local GAP, EDGEGAP, DROPDOWNOFFSET, NUMROWS, ROWHEIGHT = 8, 16, 16, 13, 18
0
 -- Panel --
0
 ---------------------
0
 
0
-local frame = CreateFrame("Frame", nil, UIParent)
0
+local frame = CreateFrame("Frame", nil, InterfaceOptionsFramePanelContainer)
0
 frame.name = "Macro Profile"
0
 frame.parent = "Control Freak"
0
 frame:Hide()
...
22
23
24
25
 
26
27
28
...
22
23
24
 
25
26
27
28
0
@@ -22,7 +22,7 @@ local GAP, EDGEGAP = 8, 16
0
 -- Panel --
0
 ---------------------
0
 
0
-local frame = CreateFrame("Frame")
0
+local frame = CreateFrame("Frame", nil, InterfaceOptionsFramePanelContainer)
0
 frame.parent = "Control Freak"
0
 frame.name = "Macro"
0
 frame:Hide()

Comments

    No one has commented yet.