From e7e75fbc4ef88f5a6e8a907fe766eb471d00a3e2 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Sat, 27 Mar 2010 21:33:36 -0400 Subject: [PATCH] Renamed GenerateTooltipContent() to ListItem_ShowTooltip() --- Frame.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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() -- 1.7.9.5