public
Description: WoW Addon - Automatically restock items from vendors and your bank
Homepage: http://www.tekkub.net
Clone URL: git://github.com/tekkub/stealyourcarbon.git
Click here to lend your support to: stealyourcarbon and make a donation at www.pledgie.com !
Update for wrath build 8962 config panel breakage
tekkub (author)
Fri Sep 19 21:15:08 -0700 2008
commit  29eb6f03e5411338ce9f488eed39f129eb01120e
tree    cbbea7eabba523a64113dfb1cb40a19aab284efa
parent  3ecee07338af0c5f16d17c52f064394fb1ccf1c6
...
4
5
6
7
 
8
9
10
...
4
5
6
 
7
8
9
10
0
@@ -4,7 +4,7 @@ local tekcheck = LibStub("tekKonfig-Checkbox")
0
 local rows, offset = {}, 0
0
 
0
 
0
-local frame = CreateFrame("Frame", "StealYourCarbonConfig", UIParent)
0
+local frame = CreateFrame("Frame", "StealYourCarbonConfig", InterfaceOptionsFramePanelContainer)
0
 frame.name = "Steal Your Carbon"
0
 frame:SetScript("OnShow", function(frame)
0
   local StealYourCarbon = StealYourCarbon
...
 
1
2
3
...
59
60
61
62
 
63
64
65
...
83
84
85
86
 
87
88
89
...
1
2
3
4
...
60
61
62
 
63
64
65
66
...
84
85
86
 
87
88
89
90
0
@@ -1,3 +1,4 @@
0
+if not IS_WRATH_BUILD then InterfaceOptionsFrame_OpenToCategory = InterfaceOptionsFrame_OpenToFrame end
0
 
0
 --------------------------------
0
 -- Memoizing Tables --
0
@@ -59,7 +60,7 @@ SLASH_CARBON1 = "/carbon"
0
 SLASH_CARBON2 = "/syc"
0
 SlashCmdList.CARBON = function(input)
0
   if input == "" then
0
- InterfaceOptionsFrame_OpenToFrame(StealYourCarbon.configframe)
0
+ InterfaceOptionsFrame_OpenToCategory(StealYourCarbon.configframe)
0
   else
0
     local id, qty = string.match(input, "add .*item:(%d+):.*%s+(%d+)%s*$")
0
     if id and qty then
0
@@ -83,7 +84,7 @@ end
0
 LibStub:GetLibrary("LibDataBroker-1.1"):NewDataObject("StealYourCarbon", {
0
   type = "launcher",
0
   icon = "Interface\\Icons\\INV_Misc_Gem_Diamond_01",
0
- OnClick = function() InterfaceOptionsFrame_OpenToFrame(StealYourCarbon.configframe) end,
0
+ OnClick = function() InterfaceOptionsFrame_OpenToCategory(StealYourCarbon.configframe) end,
0
 })
0
 
0
 

Comments

    No one has commented yet.