Mercurial > wow > mailopener
comparison Modules/OpenAll.lua @ 62:1a4b2e73cef3
Changelog update.
Added a few tips.
Removed the useless welcome and goodbye notifications.
Fixed wording of the filters at open all to make things clearer.
| author | Zerotorescue |
|---|---|
| date | Tue, 14 Sep 2010 00:32:00 +0200 |
| parents | 5f0e174c8adc |
| children | eadff31e61e8 |
comparison
equal
deleted
inserted
replaced
| 61:7e332c7b599a | 62:1a4b2e73cef3 |
|---|---|
| 135 else | 135 else |
| 136 mod:Open(true, IsShiftKeyDown()); | 136 mod:Open(true, IsShiftKeyDown()); |
| 137 end | 137 end |
| 138 end); | 138 end); |
| 139 button.tooltipTitle = "Open all"; | 139 button.tooltipTitle = "Open all"; |
| 140 button.tooltip = "Hold |cfffed000shift|r while clicking this button to temporarily override your filters and loot every single mail contain attachments and gold.\n\n|cfffed000Right|r click this button to quickly adjust mail opening filters for this profile."; | 140 button.tooltip = "Hold |cfffed000shift|r while clicking this button to temporarily override your filters and loot every single mail containing attachments and/or gold.\n\n|cfffed000Right|r click this button to quickly adjust mail opening filters for this profile."; |
| 141 button:SetScript("OnEnter", function(self) | 141 button:SetScript("OnEnter", function(self) |
| 142 if MailOpener.db.profile.general.showHelpTooltips then | 142 if MailOpener.db.profile.general.showHelpTooltips then |
| 143 GameTooltip:SetOwner(self, "ANCHOR_NONE") | 143 GameTooltip:SetOwner(self, "ANCHOR_NONE") |
| 144 GameTooltip:SetPoint("BOTTOM", self, "TOP") | 144 GameTooltip:SetPoint("BOTTOM", self, "TOP") |
| 145 GameTooltip:SetText(self.tooltipTitle, 1, .82, 0, 1) | 145 GameTooltip:SetText(self.tooltipTitle, 1, .82, 0, 1) |
| 819 name = "Remaining Mail", | 819 name = "Remaining Mail", |
| 820 }, | 820 }, |
| 821 normalAttachments = { | 821 normalAttachments = { |
| 822 order = 40, | 822 order = 40, |
| 823 type = "toggle", | 823 type = "toggle", |
| 824 name = "Other mail with |cfffed000attachments|r", | 824 name = "Normal mail with |cfffed000attachments|r", |
| 825 desc = "Automatically loot all mail with attachments not sent by any of the above sources.", | 825 desc = "Automatically loot all normal mail containing attachments (CoDs and Blizzard mail will be skipped).", |
| 826 set = function(i, v) self.db.profile.filter.normalAttachments = v; end, | 826 set = function(i, v) self.db.profile.filter.normalAttachments = v; end, |
| 827 get = function() return self.db.profile.filter.normalAttachments; end, | 827 get = function() return self.db.profile.filter.normalAttachments; end, |
| 828 width = "double", | 828 width = "double", |
| 829 }, | 829 }, |
| 830 normalMoney = { | 830 normalMoney = { |
| 831 order = 50, | 831 order = 50, |
| 832 type = "toggle", | 832 type = "toggle", |
| 833 name = "Other mail with |cfffed000gold|r", | 833 name = "Normal mail with |cfffed000gold|r", |
| 834 desc = "Automatically loot all mail with gold not sent by any of the above sources.", | 834 desc = "Automatically loot all normal mail containing gold (CoDs and Blizzard mail will be skipped).", |
| 835 set = function(i, v) self.db.profile.filter.normalMoney = v; end, | 835 set = function(i, v) self.db.profile.filter.normalMoney = v; end, |
| 836 get = function() return self.db.profile.filter.normalMoney; end, | 836 get = function() return self.db.profile.filter.normalMoney; end, |
| 837 width = "double", | 837 width = "double", |
| 838 }, | 838 }, |
| 839 allowShiftClick = { | 839 allowShiftClick = { |
