Items can now be added again. Icons in lists will update properly
ckaotik [02-13-10 - 21:07]
Items can now be added again. Icons in lists will update properly
diff --git a/Broker_Garbage.toc b/Broker_Garbage.toc
index e5f3387..d1aaa49 100644
--- a/Broker_Garbage.toc
+++ b/Broker_Garbage.toc
@@ -8,7 +8,7 @@
## Notes: Full bags no more! Find your least valuable item .. and destroy it!
## Notes-deDE: Endlich wieder Platz! Finde dein billigstes Item ... und zerstöre es.
## Author: ckaotik
-## Version: 3.3v12
+## Version: 3.3v13
## X-Embeds: LibPeriodicTable-3.1
## X-Category: Inventory
## X-Credits: GarbageFu, Tekkub
diff --git a/options.lua b/options.lua
index 85cc48e..f1cfb59 100644
--- a/options.lua
+++ b/options.lua
@@ -525,15 +525,17 @@ local function ShowOptions(frame)
_, itemLink, _, _, _, _, _, _, _, texture, _ = GetItemInfo(itemID)
end
- -- blizzard removes GetItemInfo for seasonal items ...
if texture then
+ -- everything's fine
button.itemID = itemID
button.itemLink = itemLink
button:SetNormalTexture(texture)
button:GetNormalTexture():SetDesaturated(globalList[itemID] or false) -- desaturate global list items
else
+ -- an item the server has not seen
button.itemID = itemID
button.tiptext = "ID: "..itemID
+ button:SetNormalTexture("Interface\\Icons\\Inv_misc_questionmark")
end
button:SetChecked(false)
button:Show()
@@ -587,7 +589,7 @@ local function ShowOptions(frame)
-- to fix category strings
if item then
- if item == "RightButton" then return end
+ if item == "RightButton" or item == "LeftButton" then return end
itemID = item
link = item
end
@@ -763,10 +765,6 @@ local function ShowOptions(frame)
-- add action
elseif self == plus or self == plus2 or self == plus3 or self == plus4 then
- if button == "RightButton" then
- BrokerGarbage:Debug("Right click on plusses")
- return
- end
if self == plus then
ItemDrop(self)
BrokerGarbage:ListOptionsUpdate("exclude")
diff --git a/readme.txt b/readme.txt
index d3912a0..efaf95f 100644
--- a/readme.txt
+++ b/readme.txt
@@ -1,7 +1,7 @@
Broker_Garbage
==============
Author: ckaotik
-Version: 3.3v11
+Version: 3.3v13
WoW Version: 3.3.2 (TOC 30300)
WoWInterface: http://www.wowinterface.com/downloads/info15531-Broker_Garbage.html