Mercurial > wow > itemauditor
changeset 57:9cb0bc93ed11
Added the version number to the title in ItemAuditor options.
author | Asa Ayers <Asa.Ayers@Gmail.com> |
---|---|
date | Sun, 25 Jul 2010 12:52:14 -0700 |
parents | 8afc1ac9bf58 |
children | bdf3aba93aa9 |
files | CHANGELOG.txt Modules/Options.lua |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGELOG.txt Fri Jul 23 06:56:22 2010 -0700 +++ b/CHANGELOG.txt Sun Jul 25 12:52:14 2010 -0700 @@ -1,3 +1,7 @@ +2010-07-25 Asa Ayers <Asa.Ayers@Gmail.com> + +- Added the version number to the title in ItemAuditor options. + 2010-07-22 Asa Ayers <Asa.Ayers@Gmail.com> - I Added an option to direct ItemAuditor output to a different chat frame.
--- a/Modules/Options.lua Fri Jul 23 06:56:22 2010 -0700 +++ b/Modules/Options.lua Sun Jul 25 12:52:14 2010 -0700 @@ -7,6 +7,8 @@ local craftingThresholds = {5000, 10000, 50000} local craftingThresholdsDisplay = {} +local currentVersion = "@project-version@" + for key, value in pairs(craftingThresholds) do craftingThresholdsDisplay[key] = addon:FormatMoney(value, '', true) -- craftingThresholdsDisplay[key] = value @@ -63,7 +65,7 @@ local options = { handler = addon, - name = "ItemAuditor", + name = "ItemAuditor "..currentVersion, type = 'group', args = { prices = {