From 6c8058ffae3ddbf9c227d290a72610f32e32f077 Mon Sep 17 00:00:00 2001 From: Parnic Date: Sun, 17 Feb 2013 04:53:20 +0000 Subject: [PATCH] - http://www.wowace.com/addons/ice-hud/tickets/145-hunter-pet-dismiss-error/ blacklisted the "dismiss pet" menu entry in pet right-click menus. Hunters should use the Dismiss Pet spell instead. --- IceHUD.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/IceHUD.lua b/IceHUD.lua index 2432cfe..52d25aa 100644 --- a/IceHUD.lua +++ b/IceHUD.lua @@ -590,6 +590,7 @@ end local BLACKLISTED_UNIT_MENU_OPTIONS = { SET_FOCUS = "ICEHUD_SET_FOCUS", CLEAR_FOCUS = "ICEHUD_CLEAR_FOCUS", + PET_DISMISS = "ICEHUD_PET_DISMISS", LOCK_FOCUS_FRAME = true, UNLOCK_FOCUS_FRAME = true, } @@ -606,6 +607,12 @@ UnitPopupButtons["ICEHUD_CLEAR_FOCUS"] = { dist = 0, } +UnitPopupButtons["ICEHUD_PET_DISMISS"] = { + text = L["Use your Dismiss Pet spell to dismiss a pet"], + tooltipText = L["Blizzard currently does not provide a proper way to right-click dismiss a pet with custom unit frames."], + dist = 0, +} + local munged_unit_menus = {} local function munge_unit_menu(menu) local result = munged_unit_menus[menu]