From a8a9702c7401fec2ce7bc9257e0ba69e03ef44f2 Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Thu, 23 Apr 2009 09:06:52 +0000 Subject: [PATCH] Show which feeds are launchers in the configuration UI --- NinjaPanel.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 1.7.9.5