From 4571de23565c6934dae6c763d74148406a3084eb Mon Sep 17 00:00:00 2001 From: Darthpred Date: Fri, 26 Jul 2013 06:32:28 +0400 Subject: [PATCH] Mail dt alpha options --- ElvUI_SLE/config/profile.lua | 3 +++ ElvUI_SLE/modules/datatexts/options.lua | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/ElvUI_SLE/config/profile.lua b/ElvUI_SLE/config/profile.lua index 50c1739..63e9b5e 100755 --- a/ElvUI_SLE/config/profile.lua +++ b/ElvUI_SLE/config/profile.lua @@ -152,6 +152,9 @@ P['sle'] = { ['tooltipAutohide'] = 0.2, ['totals'] = false, }, + ['mail'] = { + ['icon'] = true, + }, }, --Exp/Rep Bar diff --git a/ElvUI_SLE/modules/datatexts/options.lua b/ElvUI_SLE/modules/datatexts/options.lua index d8ac571..cd3e821 100755 --- a/ElvUI_SLE/modules/datatexts/options.lua +++ b/ElvUI_SLE/modules/datatexts/options.lua @@ -305,6 +305,26 @@ E.Options.args.sle.args.sldatatext = { }, }, }, + slmail = { + type = "group", + name = L["S&L Mail"], + order = 3, + args = { + header = { + order = 1, + type = "description", + name = L["These options are for modifing the Shadow & Light Mail datatext."], + }, + icon = { + order = 2, + type = "toggle", + name = L["Minimap icon"], + desc = L["If enabled will show new mail icon on minimap/"], + get = function(info) return E.db.sle.dt.mail.icon end, + set = function(info, value) E.db.sle.dt.mail.icon = value; end, + } + }, + }, timedt = { type = "group", name = RAID_FINDER, -- 1.7.9.5