Output a short english message telling people that Skillet advanced functionality is being enabled or manufac integration is being enabled.
Ackis [10-23-08 - 18:48]
Output a short english message telling people that Skillet advanced functionality is being enabled or manufac integration is being enabled.
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$