Hi myrroddin,
I always start my addons in this way:
Lua Code:
local ADDON, namespace = ...
local L = namespace.L
-- bla bla
local LibQTip = LibStub('LibQTip-1.0')
local ldb = LibStub:GetLibrary("LibDataBroker-1.1")
local dataobj = ldb:NewDataObject(ADDON, {
type = "data source",
label = "gmLm",
icon = "Interface\\Addons\\"..ADDON.."\\icon.tga",
text = ""
})
local icon = LibStub("LibDBIcon-1.0")
icon:Register("gmLm", dataobj, minimapicondb)
-- bla bla
And then I ever used ADDON as string everywhere
I think it is a string, but I can be wrong.
Do you think it can be a table ?
Thanks so much for your help.