comparison Modules/Config.lua @ 108:f5558317ced3

Added an experimental option to override the CheckInbox function to delay mailbox refresh while there is still mail remaining.
author Zerotorescue
date Thu, 30 Sep 2010 15:21:38 +0200
parents aabb70411186
children 91fe61693247
comparison
equal deleted inserted replaced
107:5fe1f61452a1 108:f5558317ced3
400 }, 400 },
401 get = function() return MailOpener.db.profile.general.defaultQAStatus; end, 401 get = function() return MailOpener.db.profile.general.defaultQAStatus; end,
402 set = function(i, v) MailOpener.db.profile.general.defaultQAStatus = v; end, 402 set = function(i, v) MailOpener.db.profile.general.defaultQAStatus = v; end,
403 hidden = (not MailOpener.QuickAuctionsEnabled), 403 hidden = (not MailOpener.QuickAuctionsEnabled),
404 }, 404 },
405 overrideCheckInbox = {
406 order = 12,
407 type = "toggle",
408 name = "|cffff0000Experimental|r: Don't refresh the mailbox while there is still mail waiting to be opened",
409 desc = "|cffff0000Note:|r This functionality is still very experimental. Your mailbox might not update properly if you enable this.\n\nToggling this on will prevent the mailbox from automatically refreshing while there is still openable mail remaining.\n\nIf you close the mailbox while there is still mail remaining, your client will always try to refresh the inbox when you reopen it. This feature will wait with refreshing until there is no openable mail remaining, possibly saving a few seconds.",
410 width = "full",
411 get = function() return MailOpener.db.profile.general.overrideCheckInbox; end,
412 set = function(i, v) MailOpener.db.profile.general.overrideCheckInbox = v; end,
413 },
405 continueOpeningStackableItems = { 414 continueOpeningStackableItems = {
406 order = 15, 415 order = 15,
407 type = "toggle", 416 type = "toggle",
408 name = L["Continue trying to open mail after your bags are full"], 417 name = L["Continue trying to open mail after your bags are full"],
409 desc = L["If there are a lot of stackable items in your mailbox (e.g. glyphs) you may want to toggle this option on.\n\nThis will cause your Blizzard error frame to get extremely spammy if there's a lot of mail remaining. With this disabled, Mail Opener will completely stop opening mail while your inventory is full."], 418 desc = L["If there are a lot of stackable items in your mailbox (e.g. glyphs) you may want to toggle this option on.\n\nThis will cause your Blizzard error frame to get extremely spammy if there's a lot of mail remaining. With this disabled, Mail Opener will completely stop opening mail while your inventory is full."],