From dd425016b8fbeb8462e88e56ba63685df1e67b16 Mon Sep 17 00:00:00 2001 From: Ackis Date: Thu, 23 Oct 2008 18:48:41 +0000 Subject: [PATCH] Output a short english message telling people that Skillet advanced functionality is being enabled or manufac integration is being enabled. --- AckisRecipeList.lua | 6 ++++++ AckisRecipeList.toc | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua index bce464b..ab78095 100644 --- a/AckisRecipeList.lua +++ b/AckisRecipeList.lua @@ -267,6 +267,7 @@ function addon:OnEnable() -- Add an option so that ARL will work with Manufac if (Manufac) then + self:Print("Enabling Manufac integration.") Manufac.options.args.ARLScan = { type = 'execute', name = L["Scan Recipes"], @@ -281,6 +282,7 @@ function addon:OnEnable() if (Skillet) and (Skillet.GetNumTradeSkills) and (Skillet.GetTradeSkillLine) and (Skillet.GetTradeSkillInfo) then + self:Print("Enabling Skillet advanced features.") GetNumTradeSkills = Skillet.GetNumTradeSkills GetTradeSkillLine = Skillet.GetTradeSkillLine GetTradeSkillInfo = Skillet.GetTradeSkillInfo @@ -304,12 +306,16 @@ function addon:OnDisable() -- If we disable the addon when the GUI is up, hide it. if (addon.Frame) then + addon.Frame:Hide() + end -- Remove the option from Manufac if Manufac then + Manufac.options.args.ARLScan = nil + end end diff --git a/AckisRecipeList.toc b/AckisRecipeList.toc index 5dbaf67..7b3d58f 100644 --- a/AckisRecipeList.toc +++ b/AckisRecipeList.toc @@ -18,7 +18,7 @@ ## X-Donate: Donate a few bucks/hours at your local animal shelter, or send me UDE Point codes, a Murky Code, or an account upgrade certificate. ## Interface: 30000 -## Version: Beta 6 r948 +## Version: Beta 6 r954 ## X-Revision: $Rev$ ## X-Date: $Date$ -- 1.7.9.5