comparison Core.lua @ 67:4166a335ca81

Added a tip. Reworded mail opener status checkbox tooltip.
author Zerotorescue
date Tue, 14 Sep 2010 11:17:38 +0200
parents 4cd3b02f6840
children eadff31e61e8
comparison
equal deleted inserted replaced
66:9b0a89ef3da5 67:4166a335ca81
204 AutoOpenMail = false; 204 AutoOpenMail = false;
205 end 205 end
206 end 206 end
207 end); 207 end);
208 check.tooltipTitle = "Mail Opener status"; 208 check.tooltipTitle = "Mail Opener status";
209 check.tooltip = "Toggle automatic mail opening |cff00ff00on|r or |cffff0000off|r (you can also enforce this by holding shift when opening the mailbox).\n\nYou can also hold the |cfffed000shift|r key while clicking this checkbox to disable the entire addon instead."; 209 check.tooltip = "Toggle automatic mail opening |cff00ff00on|r or |cffff0000off|r (you can also enforce this by holding shift when opening the mailbox).\n\nYou can toggle this addon |cff00ff00on|r or |cffff0000off|r by |cfffed000shift-clicking|r this checkbox.";
210 check:SetScript("OnEnter", function(self) 210 check:SetScript("OnEnter", function(self)
211 if MailOpener.db.profile.general.showHelpTooltips then 211 if MailOpener.db.profile.general.showHelpTooltips then
212 GameTooltip:SetOwner(self, "ANCHOR_BOTTOM") 212 GameTooltip:SetOwner(self, "ANCHOR_BOTTOM")
213 GameTooltip:SetPoint("BOTTOM", self, "BOTTOM") 213 GameTooltip:SetPoint("BOTTOM", self, "BOTTOM")
214 GameTooltip:SetText(self.tooltipTitle, 1, .82, 0, 1) 214 GameTooltip:SetText(self.tooltipTitle, 1, .82, 0, 1)