Quantcast

Added ElvUI Skin, thanks for the code Zehir. :)

Safturento [12-08-11 - 04:14]
Added ElvUI Skin, thanks for the code Zehir. :)
Filename
stAddonManager.lua
stAddonManager.toc
diff --git a/stAddonManager.lua b/stAddonManager.lua
index 510bd08..952b8f0 100644
--- a/stAddonManager.lua
+++ b/stAddonManager.lua
@@ -604,5 +604,9 @@ gmbAddOns:SetScript("OnEvent", function(self, event, addon)
 		local shadow = {GameMenuButtonMacros:GetFontString():GetShadowOffset()}
 		gmbAddOns:GetFontString():SetFont(unpack(font))
 		gmbAddOns:GetFontString():SetShadowOffset(unpack(shadow))
+	elseif CheckForAddon(event, addon, "ElvUI") then -- Thanks Zehir
+		local E, L, DF = unpack(ElvUI)
+		local S = E:GetModule('Skins')
+		S:HandleButton(GameMenuButtonAddOns)
 	end
 end)
\ No newline at end of file
diff --git a/stAddonManager.toc b/stAddonManager.toc
index d3dec80..dcefe16 100644
--- a/stAddonManager.toc
+++ b/stAddonManager.toc
@@ -4,6 +4,7 @@
 ## Title: |cff00aaffst|rAddonManager
 ## Notes: A simple and minimalistic addon to disable/enabled addons without logging out.
 ## SavedVariables: stAddonProfiles, stLockedAddons
+## OptionalDeps: Tukui, Aurora, ElvUI

 localization.lua
 stAddonManager.lua
\ No newline at end of file