Mercurial > wow > mailopener
comparison Modules/FailSafe.lua @ 6:f10c8a083d2a
The ALPHA help request popup should pop when the addon is enabled for every 15th time. I really would like some data to.
The timer to start opening mail when you open the mailbox will now use the initial mail opening delay.
| author | Zerotorescue |
|---|---|
| date | Wed, 08 Sep 2010 00:48:37 +0200 |
| parents | 1ba07a64bf14 |
| children | fb952805d8b7 |
comparison
equal
deleted
inserted
replaced
| 5:1ba07a64bf14 | 6:f10c8a083d2a |
|---|---|
| 48 self:UnregisterEvent("MAIL_CLOSED"); | 48 self:UnregisterEvent("MAIL_CLOSED"); |
| 49 | 49 |
| 50 self:UnregisterMessage("MO_OPENING_MAIL"); | 50 self:UnregisterMessage("MO_OPENING_MAIL"); |
| 51 self:UnregisterMessage("MO_OPENING_MAIL_FINISHED"); | 51 self:UnregisterMessage("MO_OPENING_MAIL_FINISHED"); |
| 52 | 52 |
| 53 self:CancelTimer(self.tmrTimeout); | 53 self:CancelTimer(self.tmrTimeout, true); |
| 54 end | 54 end |
| 55 | 55 |
| 56 function FailSafe:MO_OPENING_MAIL() | 56 function FailSafe:MO_OPENING_MAIL() |
| 57 -- Single mail being opened | 57 -- Single mail being opened |
| 58 | 58 |
| 60 end | 60 end |
| 61 | 61 |
| 62 function FailSafe:MO_MAIL_EMPTIED() | 62 function FailSafe:MO_MAIL_EMPTIED() |
| 63 -- Single mail has been opened | 63 -- Single mail has been opened |
| 64 | 64 |
| 65 self:CancelTimer(self.tmrTimeout); | 65 self:CancelTimer(self.tmrTimeout, true); |
| 66 end | 66 end |
| 67 | 67 |
| 68 function FailSafe:Continue() | 68 function FailSafe:Continue() |
| 69 MailOpener:GetModule("OpenAll"):Continue(); | 69 MailOpener:GetModule("OpenAll"):Continue(); |
| 70 | 70 |
