Renamed GenerateTooltipContent() to ListItem_ShowTooltip()
James D. Callahan III [03-28-10 - 01:33]
Renamed GenerateTooltipContent() to ListItem_ShowTooltip()
diff --git a/Frame.lua b/Frame.lua
index 183120b..43d9869 100644
--- a/Frame.lua
+++ b/Frame.lua
@@ -478,7 +478,7 @@ local acquire_tip
local narrowFont
local normalFont
-local GenerateTooltipContent
+local ListItem_ShowTooltip
do
-- Fallback in case the user doesn't have LSM-3.0 installed
if not LibStub:GetLibrary("LibSharedMedia-3.0", true) then
@@ -736,7 +736,7 @@ do
-------------------------------------------------------------------------------
-- Main tooltip-generating function.
-------------------------------------------------------------------------------
- function GenerateTooltipContent(owner, list_entry)
+ function ListItem_ShowTooltip(owner, list_entry)
if not list_entry then
return
end
@@ -2439,7 +2439,7 @@ do
highlight._texture:SetAllPoints(highlight)
local function Button_OnEnter(self)
- GenerateTooltipContent(self, ListFrame.entries[self.string_index])
+ ListItem_ShowTooltip(self, ListFrame.entries[self.string_index])
end
local function Button_OnLeave()
@@ -2451,7 +2451,7 @@ do
highlight:SetParent(self)
highlight:SetAllPoints(self)
highlight:Show()
- GenerateTooltipContent(self, ListFrame.entries[self.string_index])
+ ListItem_ShowTooltip(self, ListFrame.entries[self.string_index])
end
local function Bar_OnLeave()