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.
| User | When | Change |
|---|---|---|
| Azethoth | Wed, 21 Jan 2009 05:21:27 | Changed status from New to Invalid |
| Azethoth | Thu, 04 Dec 2008 08:52:54 | Create |
© 2008-2009 Curse Inc.
- #1
Azethoth Wed, 21 Jan 2009 05:20:49Ninja fixed it.