comparison Modules/Config.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 4cd3b02f6840
children 4166a335ca81
comparison
equal deleted inserted replaced
61:7e332c7b599a 62:1a4b2e73cef3
60 -- Then we erase tips that are irrelevant to us 60 -- Then we erase tips that are irrelevant to us
61 -- and finally the table will be replaced with the currently selected tip 61 -- and finally the table will be replaced with the currently selected tip
62 62
63 -- Can't put this in the abive scope as the ADDONEnable vars would then always be empty 63 -- Can't put this in the abive scope as the ADDONEnable vars would then always be empty
64 tip = { 64 tip = {
65 "To let Mail Opener automatically continue opening a batch of mail you previously interupted, you will have to tick the \"Continue opening mail\"-box at the \"Open All\" config. By default Mail Opener will always automatically start opening mail right after a server refresh, but you will have to manually resume mail opening if it gets interupted (e.g. because you closed the mailbox or because your bags were full).", 65 "To make Mail Opener automatically continue the opening of a batch of mail that had previously been interupted, you will have to tick the \"|cfffed000Continue opening mail|r\"-box at the \"|cfffed000Open All|r\" config. By default Mail Opener will always automatically start opening mail right after a server refresh, but you will have to manually resume mail opening if it gets interupted (e.g. because you closed the mailbox or because your bags were full).",
66 "You can shift click a mail icon to auto loot that single mail.", 66 "You can |cfffed000shift-click|r a mail icon to loot all attachments from that single mail.",
67 "You can click the time remaining text to get it into a popup dialog so you can copy it (with CTRL-C) and then paste it (with CTRL-V) elsewhere.", 67 {
68 txt = "|cfffed000Postal|r allows you to return mail by |cfffed000alt-clicking|r the mail icon.",
69 shown = (MailOpener.PostalEnabled),
70 },
71 {
72 txt = "|cfffed000Mail Opener|r is not meant to be a full replacement of |cfffed000Postal|r, it will only handle the opening of your mail and you can run both addons simultaneously.",
73 shown = (MailOpener.PostalEnabled),
74 },
75 "You can click the time remaining text to get it into a popup dialog so you can copy it (with |cfffed000CTRL-C|r) and then paste it (with |cfffed000CTRL-V|r) elsewhere.",
68 { 76 {
69 txt = "If you are looking for an addon with many handy modifications for |cfffed000sending|r mail, you might want to consider |cfffed000Postal|r.", 77 txt = "If you are looking for an addon with many handy modifications for |cfffed000sending|r mail, you might want to consider |cfffed000Postal|r.",
70 shown = (not MailOpener.PostalEnabled), 78 shown = (not MailOpener.PostalEnabled),
71 }, 79 },
80 "|cfffed000Cost on Delivery|r and |cfffed000Blizzard|r mail will always be skipped, regardless of any filters.",
81 "|cfffed000Right-click|r the |cfffed000open all|r button to quickly adjust your mail opening filters.",
82 "|cfffed000Shift-click|r the |cfffed000open all|r button to temporarily override your filters and loot every single mail containing attachments and/or gold.",
72 }; 83 };
73 84
74 -- Remove any "hidden" tips 85 -- Remove any "hidden" tips
75 for i = table.getn(tip), 1 do 86 for i = table.getn(tip), 1 do
76 local val = tip[i]; 87 local val = tip[i];
512 order = 20, 523 order = 20,
513 type = "group", 524 type = "group",
514 inline = true, 525 inline = true,
515 name = "General Notifications", 526 name = "General Notifications",
516 args = { 527 args = {
517 welcome = { 528 --[[welcome = {
518 order = 20, 529 order = 20,
519 type = "toggle", 530 type = "toggle",
520 name = "Show message when |cfffed000opening the mailbox|r", 531 name = "Show message when |cfffed000opening the mailbox|r",
521 desc = "Print the welcome message whenever you open the mailbox.", 532 desc = "Print the welcome message whenever you open the mailbox.",
522 set = function(i, v) MailOpener.db.profile.notifications.welcome = v; end, 533 set = function(i, v) MailOpener.db.profile.notifications.welcome = v; end,
529 name = "Show message when |cfffed000closing the mailbox|r", 540 name = "Show message when |cfffed000closing the mailbox|r",
530 desc = "Print the bye message whenever you close the mailbox.", 541 desc = "Print the bye message whenever you close the mailbox.",
531 set = function(i, v) MailOpener.db.profile.notifications.bye = v; end, 542 set = function(i, v) MailOpener.db.profile.notifications.bye = v; end,
532 get = function() return MailOpener.db.profile.notifications.bye; end, 543 get = function() return MailOpener.db.profile.notifications.bye; end,
533 width = "double", 544 width = "double",
534 }, 545 },]]
535 fishedOpeningBatch = { 546 fishedOpeningBatch = {
536 order = 22, 547 order = 22,
537 type = "toggle", 548 type = "toggle",
538 name = "Announce when |cfffed000finished opening the current batch|r", 549 name = "Announce when |cfffed000finished opening the current batch|r",
539 desc = "Announce when opening of the current batch of mail has been completed.", 550 desc = "Announce when opening of the current batch of mail has been completed.",