Show the icon on the right through the default texture frame
p3lim [01-14-11 - 20:20]
Show the icon on the right through the default texture frame
diff --git a/Broker_Equipment.lua b/Broker_Equipment.lua
index dcfe81f..c7df1d7 100644
--- a/Broker_Equipment.lua
+++ b/Broker_Equipment.lua
@@ -120,8 +120,9 @@ local function CreateMenu()
menu = wipe(menu)
for index = 1, GetNumEquipmentSets() do
local name, icon = GetEquipmentSetInfo(index)
- menu.text = string.format('|T%s:26|t %s%s', icon, EquipmentLocated(name) and '|cff00ff00' or pendingName and pendingName == name and '|cffff0000' or '', name)
menu.func = ModifiedClick
+ menu.text = string.format('%s%s', EquipmentLocated(name) and '|cff00ff00' or pendingName and pendingName == name and '|cffff0000' or '', name)
+ menu.icon = icon
menu.arg1 = name
menu.arg2 = icon
menu.notCheckable = 1