Skip to content

Commit

Permalink
Retail: Added Compartment Icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelnpsp committed May 1, 2023
1 parent 8bc1c18 commit a608214
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions KiwiFarm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1333,6 +1333,15 @@ addon:SetScript("OnEvent", function(frame, event, name)
end
-- init leveling session
LevelingInit()
-- compartment icon
if AddonCompartmentFrame and AddonCompartmentFrame.RegisterAddon then
AddonCompartmentFrame:RegisterAddon({
text = "KiwiFarm",
icon = "Interface\\AddOns\\KiwiFarm\\KiwiFarm.tga",
registerForAnyClick = true,
func = function() addon:ShowMenu() end,
})
end
-- minimap icon
LibStub("LibDBIcon-1.0"):Register(addonName, LibStub("LibDataBroker-1.1"):NewDataObject(addonName, {
type = "launcher",
Expand Down

0 comments on commit a608214

Please sign in to comment.