Mercurial > wow > inventory
diff Modules/Summary.lua @ 98:252292b703ce
All print(...) function calls are now handled by addon:Print(text, color).
The cursor will be cleared of any items/spells before moving as well as when aborting.
author | Zerotorescue |
---|---|
date | Sun, 09 Jan 2011 17:49:33 +0100 |
parents | a12d22ef3f39 |
children | d3fbb5676a5e |
line wrap: on
line diff
--- a/Modules/Summary.lua Sun Jan 09 01:34:05 2011 +0100 +++ b/Modules/Summary.lua Sun Jan 09 17:49:33 2011 +0100 @@ -28,7 +28,7 @@ mod.frame:SetWidth(700); mod.frame:SetHeight(600); - print("Resetting width and height of the summary frame."); + addon:Print("Resetting width and height of the summary frame."); end end, { "r", "reset" }, "|Hfunction:InventoriumCommandHandler:reset|h|cff00fff7/im reset|r|h (or /im r) - Reset the size of the summary frame."); end @@ -256,7 +256,7 @@ name = "Queue", desc = "Queue all items in this group.", exec = function() - print("Queueing all items within " .. groupName .. " craftable by the currently open profession."); + addon:Print(("Queueing all items within %s craftable by the currently open profession."):format(groupName)); self:SendMessage("IM_QUEUE_GROUP", groupName); end, });