5 - Please use label for the label, and not text.
local ldb = LibStub("LibDataBroker-1.1"):NewDataObject("oRA2", {
type = "data source",
label = "oRA2",
icon = "Interface\\AddOns\\oRA2\\Icons\\core_enabled",
})
notice that it should be label = "oRA2" and not text = "oRA2". Using text makes it look like its working but in fact it is not obeying the spec and making it so the "label" can not be made to go away because hiding "text" would make actual output from other broker objects go away thus defeating the whole point of having them.
There is a whole discussion in the broker thread on this as well.
- 1 comment
- 1 comment
- #1
Azethoth Wed, 21 Jan 2009 05:20:49Ninja fixed it.