WoWInterface SVN UrbanAchiever

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 47 to Rev 48
    Reverse comparison

Rev 47 → Rev 48

Main.lua
250,7 → 250,8
self:ToggleFrame()
end
 
self:HookAlertFrames()
self:HookAlertFrames()
self:HookMicroMenu()
 
--self:Hook("AchievementAlertFrame_OnClick")
self:SecureHook("UnitPopup_ShowMenu")
310,6 → 311,17
self:SetCategory(id)
end)
end
 
function self:HookMicroMenu()
AchievementMicroButton:SetScript("OnClick", function()
self:ToggleFrame()
end)
 
AchievementMicroButton:SetScript("OnEnter", function(frame)
frame.tooltipText = MicroButtonTooltipText(ACHIEVEMENT_BUTTON, "URBANACHIEVER_TOGGLE")
GameTooltip_AddNewbieTip(frame, frame.tooltipText, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_ACHIEVEMENT);
end)
end
-------------------------------------------------------------
--Utilities
-------------------------------------------------------------