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 @@ end
function PetBarMod:OnEnable()
if not self.bar then
self.bar = setmetatable(Bartender4.ButtonBar:Create(L["Pet"], self.db.profile), {__index = PetBar})
self.bar = setmetatable(Bartender4.ButtonBar:Create("PetBar", self.db.profile, L["Pet Bar"]), {__index = PetBar})
local buttons = {}
for i=1,10 do
@@ -162,7 +162,7 @@ function PetBarMod:SetupOptions()
desc = L["Configure the Pet Bar"],
childGroups = "tab",
}
Bartender4:RegisterBarOptions(L["Pet"], self.options)
Bartender4:RegisterBarOptions("PetBar", self.options)
end
self.options.args = self:IsEnabled() and self.optionobject.table or self.disabledoptions
end