Show which feeds are launchers in the configuration UI
James Whitehead II [04-23-09 - 09:06]
Show which feeds are launchers in the configuration UI
diff --git a/NinjaPanel.lua b/NinjaPanel.lua
index ffe7de8..0ff531a 100644
--- a/NinjaPanel.lua
+++ b/NinjaPanel.lua
@@ -804,9 +804,11 @@ frame:SetScript("OnShow", function(frame)
local opts = NinjaPanelDB.plugins[name]
local enabled = not opts.disabled
local color = statusColors[enabled or false]
+ local dataObj = ldb:GetDataObjectByName(name)
+ local type = dataObj.type == "launcher" and " |cffffffff(launcher)|r" or ""
row.check:SetChecked(enabled)
- row.title:SetText(name)
+ row.title:SetText(name .. type)
row.status:SetText(enabled and "Enabled" or "Disabled")
row.status:SetTextColor(unpack(color))
row.name = name