- shamelessly ripped off code from pitbull4 to replace "set focus" with instructions on how to do so. begone, focus error reports!

This commit is contained in:
Parnic
2010-10-30 04:40:12 +00:00
parent 2401ed2295
commit fecfe8b586
6 changed files with 125 additions and 27 deletions

View File

@ -51,18 +51,6 @@ function PlayerInfo.prototype:GetOptions()
return opts
end
local function IcePlayerDropdown()
ToggleDropDownMenu(1, nil, PlayerFrameDropDown, "cursor")
end
function PlayerInfo.prototype:CreateFrame(redraw)
PlayerInfo.super.prototype.CreateFrame(self, redraw)
if not self.frame.menu or self.frame.menu ~= IcePlayerDropdown then
self.frame.menu = IcePlayerDropdown
end
end
StaticPopupDialogs["ICEHUD_BUFF_DISMISS_UNAVAILABLE"] =
{
text = "Sorry, but there is currently no way for custom mods to cancel buffs. This will be fixed whenever Blizzard fixes the API.",