public
Description: WoW Addon - Generic reminder framework
Homepage: http://www.tekkub.net/
Clone URL: git://github.com/tekkub/cork.git
Click here to lend your support to: cork and make a donation at www.pledgie.com !
Update for wrath build 8962 config panel breakage
tekkub (author)
Fri Sep 19 21:11:28 -0700 2008
commit  0bd0463543a497f5ce23181d50cabfdd21f15037
tree    a9b3e186fe3ca5048d6bb1a4532e2c3f8fa44905
parent  14acae1254af815bc531c28938922cb93904b1ec
...
6
7
8
9
 
10
11
12
...
170
171
172
173
 
174
175
176
...
6
7
8
 
9
10
11
12
...
170
171
172
 
173
174
175
176
0
@@ -6,7 +6,7 @@ local GAP = 8
0
 local tekcheck = LibStub("tekKonfig-Checkbox")
0
 
0
 
0
-local frame = CreateFrame("Frame", nil, UIParent)
0
+local frame = CreateFrame("Frame", nil, InterfaceOptionsFramePanelContainer)
0
 Cork.config = frame
0
 frame.name = "Cork"
0
 frame:Hide()
0
@@ -170,7 +170,7 @@ InterfaceOptions_AddCategory(frame)
0
 
0
 local ldb = LibStub:GetLibrary("LibDataBroker-1.1")
0
 local dataobj = ldb:GetDataObjectByName("CorkLauncher") or ldb:NewDataObject("CorkLauncher", {type = "launcher", icon = "Interface\\Icons\\INV_Drink_11", tocname = "Cork"})
0
-dataobj.OnClick = function() InterfaceOptionsFrame_OpenToFrame(frame) end
0
+dataobj.OnClick = function() InterfaceOptionsFrame_OpenToCategory(frame) end
0
 
0
 ----------------------------
0
 -- Key Binding --
...
 
1
2
3
...
95
96
97
98
 
99
100
101
...
1
2
3
4
...
96
97
98
 
99
100
101
102
0
@@ -1,3 +1,4 @@
0
+if not IS_WRATH_BUILD then InterfaceOptionsFrame_OpenToCategory = InterfaceOptionsFrame_OpenToFrame end
0
 
0
 local ldb, ae = LibStub:GetLibrary("LibDataBroker-1.1"), LibStub("AceEvent-3.0")
0
 
0
@@ -95,7 +96,7 @@ anchor:SetWidth(text:GetStringWidth() + 8)
0
 anchor:SetMovable(true)
0
 anchor:RegisterForDrag("LeftButton")
0
 
0
-anchor:SetScript("OnClick", function(self) InterfaceOptionsFrame_OpenToFrame(Cork.config) end)
0
+anchor:SetScript("OnClick", function(self) InterfaceOptionsFrame_OpenToCategory(Cork.config) end)
0
 
0
 
0
 anchor:SetScript("OnDragStart", function(self)
...
123
124
125
126
 
127
128
129
...
269
270
271
272
 
273
274
275
...
123
124
125
 
126
127
128
129
...
269
270
271
 
272
273
274
275
0
@@ -123,7 +123,7 @@ end
0
 local GAP = 8
0
 local tekcheck = LibStub("tekKonfig-Checkbox")
0
 
0
-local frame = CreateFrame("Frame", nil, UIParent)
0
+local frame = CreateFrame("Frame", nil, InterfaceOptionsFramePanelContainer)
0
 frame.name = "Blessings"
0
 frame.parent = "Cork"
0
 frame:Hide()
0
@@ -269,7 +269,7 @@ frame2:SetScript("OnShow", function()
0
   butt:SetWidth(60) butt:SetHeight(18)
0
   butt.tiptext = "Click to open detailed config."
0
   butt:SetText("Config")
0
- butt:SetScript("OnClick", function() InterfaceOptionsFrame_OpenToFrame(frame) end)
0
+ butt:SetScript("OnClick", function() InterfaceOptionsFrame_OpenToCategory(frame) end)
0
 
0
   frame2:SetScript("OnShow", nil)
0
 end)
...
42
43
44
45
 
46
47
48
...
42
43
44
 
45
46
47
48
0
@@ -42,7 +42,7 @@ function dataobj:CorkIt() end
0
 local GAP = 8
0
 local tekcheck = LibStub("tekKonfig-Checkbox")
0
 
0
-local frame = CreateFrame("Frame", nil, UIParent)
0
+local frame = CreateFrame("Frame", nil, InterfaceOptionsFramePanelContainer)
0
 frame.name = "Shout"
0
 frame.parent = "Cork"
0
 frame:Hide()

Comments

    No one has commented yet.