View Single Post
07-13-09, 03:30 PM   #22
xConStruct
A Chromatic Dragonspawn
 
xConStruct's Avatar
AddOn Author - Click to view addons
Join Date: May 2008
Posts: 199
Preamble: This only works with the new oGlow-API (basically on haste's git).

You basically have to tell oGlow that cargBags needs to be updated, too.
Add this code on top of the layout (basically replacing the old createGlow-function):
Code:
local function dummy() end
oGlow:RegisterPipe('cargBags_Pernobilis', dummy, nil, dummy, [[The cargBags layout Pernobilis.]])
oGlow:RegisterFilterOnPipe('cargBags_Pernobilis', 'quality')
oGlow:RegisterFilterOnPipe('cargBags_Pernobilis', 'quest')
The dummy-function is merely a hack to circumvent the mandatory oGlow-functions which are not needed :/

And then this part into the UpdateButton-function, replacing the old glow-code:
Code:
	oGlow:CallFilters('cargBags_Pernobilis', button, item.link)
__________________
« Website | GitHub »

Oh hai!
  Reply With Quote