commit the other half of that <.<

This commit is contained in:
Hendrik Leppkes
2008-06-20 00:03:21 +00:00
parent 14aa5efda4
commit 8060002efc
8 changed files with 16 additions and 14 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ local noopFunc = function() end
function BagBarMod:OnEnable()
if not self.bar then
self.bar = setmetatable(Bartender4.ButtonBar:Create(L["Bag"], self.db.profile), {__index = BagBar})
self.bar = setmetatable(Bartender4.ButtonBar:Create("BagBar", self.db.profile, L["Bag Bar"]), {__index = BagBar})
-- TODO: real start position
self.bar:SetPoint("CENTER")
@@ -102,7 +102,7 @@ function BagBarMod:SetupOptions()
desc = L["Configure the Bag Bar"],
childGroups = "tab",
}
Bartender4:RegisterBarOptions(L["Bag"], self.options)
Bartender4:RegisterBarOptions("BagBar", self.options)
end
self.options.args = self:IsEnabled() and self.optionobject.table or self.disabledoptions
end