Mercurial > wow > mailopener
diff Core.lua @ 7:7249f9f1205a
Removed BETA popup.
| author | Zerotorescue |
|---|---|
| date | Wed, 08 Sep 2010 22:18:07 +0200 |
| parents | f10c8a083d2a |
| children | 1b2d819b4fa8 |
line wrap: on
line diff
--- a/Core.lua Wed Sep 08 00:48:37 2010 +0200 +++ b/Core.lua Wed Sep 08 22:18:07 2010 +0200 @@ -7,9 +7,9 @@ function MailOpener:OnInitialize() local defaults = { - global = { - uses = 0; - }, + --BETA:global = { + --BETA: uses = 0; + --BETA:}, profile = { general = { defaultStatus = "_enabled", @@ -180,9 +180,9 @@ MailOpenerConfig:Show(); - if MailOpener.db.global.uses >= 15 then - MailOpener:ShowBetaPopup(); - end + --BETA:if MailOpener.db.global.uses >= 15 then + --BETA: MailOpener:ShowBetaPopup(); + --BETA:end end); self.btnConfig = button; @@ -235,12 +235,12 @@ lastAmount = 0; self.debugChannel = nil; - self.db.global.uses = ( self.db.global.uses + 1 ); + --BETA:self.db.global.uses = ( self.db.global.uses + 1 ); - if (self.db.global.uses % 15) == 0 then - -- Automatically show once every 15 uses - self:ShowBetaPopup(); - end + --BETA:if (self.db.global.uses % 15) == 0 then + --BETA: -- Automatically show once every 15 uses + --BETA: self:ShowBetaPopup(); + --BETA:end -- If we were toggling this addon on while the mailbox is opened we must register all events again if MailFrame:IsVisible() then @@ -630,6 +630,7 @@ end end +-- General copy window for multiple things (clickable URLs, the time remaining, and such) StaticPopupDialogs["MailOpenerCopyWindow"] = { text = "Please CTRL-C to copy.", button2 = CLOSE, @@ -662,8 +663,10 @@ maxLetters = 1024, }; --- The below either has to be removed or changed when releasing +--BETA: The below either has to be removed or changed when releasing +--[[ +BETA/ALPHA request box function MailOpener:ShowBetaPopup() function TableDump(key, val, jumps) local cache = ""; @@ -772,4 +775,5 @@ label:SetText("\n\nps. You can always view this window again at a later time by clicking the \"Config\" button in the mail frame.\nps2. The information above is completely Mail Opener related. It will be used to determine the best default settings."); label:SetFullWidth(true); frame:AddChild(label); -end \ No newline at end of file +end +]] \ No newline at end of file
