Quantcast

Add more support for Mr Trader.

ackis [09-29-09 - 18:12]
Add more support for Mr Trader.
Filename
ARLFrame.lua
Docs/CHANGES.txt
diff --git a/ARLFrame.lua b/ARLFrame.lua
index fd51dca..59d44aa 100644
--- a/ARLFrame.lua
+++ b/ARLFrame.lua
@@ -1689,7 +1689,18 @@ function addon:CreateScanButton()
 		addon.ScanButton:Show()
 		Skillet:AddButtonToTradeskillWindow(addon.ScanButton)
 		addon.ScanButton:SetWidth(80)
-	end
+	elseif (MRTUIUtils_RegisterWindowOnShow) then
+		MRTUIUtils_RegisterWindowOnShow(
+			function()
+				addon.ScanButton:SetParent(MRTSkillFrame)
+				addon.ScanButton:ClearAllPoints()
+				addon.ScanButton:SetPoint("RIGHT",MRTSkillFrameCloseButton,"LEFT",4,0)
+				addon.ScanButton:SetWidth(addon.ScanButton:GetTextWidth() + 10)
+				addon.ScanButton:Show()
+			end
+		)
+  	end
+

 	-- Set some of the common button properties
 	addon.ScanButton:SetHeight(20)
diff --git a/Docs/CHANGES.txt b/Docs/CHANGES.txt
index 997e5ea..55c5837 100644
--- a/Docs/CHANGES.txt
+++ b/Docs/CHANGES.txt
@@ -1,4 +1,8 @@
 ==ARL Change Log
+===Version 2XXX
+*Fixed an issue with Ulduar cross-faction recipes not appearing correctly.
+*Updated the database to make code more readible and remove redundancy.  Should make database updates a lot easier for people.
+
 ===Version 2500
 *Fixed the addon title in the ToC.
 *Fixed the tooltip flickering issue.