From 3f9b2ea1ffd7507b11e42d055c42ee95255b6cf1 Mon Sep 17 00:00:00 2001 From: shagu Date: Wed, 11 Mar 2020 18:21:19 +0100 Subject: [PATCH] gui: hide vanilla thirdparty for other expansions --- modules/gui.lua | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/modules/gui.lua b/modules/gui.lua index 6b7b1913..bcef7233 100644 --- a/modules/gui.lua +++ b/modules/gui.lua @@ -2079,21 +2079,21 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function () CreateConfig(nil, T["Use Chat Colors for Meters"], C.thirdparty, "chatbg", "checkbox") CreateConfig(nil, "DPSMate (" .. T["Skin"] .. ")", C.thirdparty.dpsmate, "skin", "checkbox") CreateConfig(nil, "DPSMate (" .. T["Dock"] .. ")", C.thirdparty.dpsmate, "dock", "checkbox") - CreateConfig(nil, "SWStats (" .. T["Skin"] .. ")", C.thirdparty.swstats, "skin", "checkbox") - CreateConfig(nil, "SWStats (" .. T["Dock"] .. ")", C.thirdparty.swstats, "dock", "checkbox") - CreateConfig(nil, "KLH Threat Meter (" .. T["Skin"] .. ")", C.thirdparty.ktm, "skin", "checkbox") - CreateConfig(nil, "KLH Threat Meter (" .. T["Dock"] .. ")", C.thirdparty.ktm, "dock", "checkbox") - CreateConfig(nil, "WIM", C.thirdparty.wim, "enable", "checkbox") - CreateConfig(nil, "HealComm", C.thirdparty.healcomm, "enable", "checkbox") - CreateConfig(nil, "SortBags", C.thirdparty.sortbags, "enable", "checkbox") + CreateConfig(nil, "SWStats (" .. T["Skin"] .. ")", C.thirdparty.swstats, "skin", "checkbox", nil, nil, nil, nil, "vanilla") + CreateConfig(nil, "SWStats (" .. T["Dock"] .. ")", C.thirdparty.swstats, "dock", "checkbox", nil, nil, nil, nil, "vanilla") + CreateConfig(nil, "KLH Threat Meter (" .. T["Skin"] .. ")", C.thirdparty.ktm, "skin", "checkbox", nil, nil, nil, nil, "vanilla") + CreateConfig(nil, "KLH Threat Meter (" .. T["Dock"] .. ")", C.thirdparty.ktm, "dock", "checkbox", nil, nil, nil, nil, "vanilla") + CreateConfig(nil, "WIM", C.thirdparty.wim, "enable", "checkbox", nil, nil, nil, nil, "vanilla") + CreateConfig(nil, "HealComm", C.thirdparty.healcomm, "enable", "checkbox", nil, nil, nil, nil, "vanilla") + CreateConfig(nil, "SortBags", C.thirdparty.sortbags, "enable", "checkbox", nil, nil, nil, nil, "vanilla") CreateConfig(nil, "MrPlow", C.thirdparty.mrplow, "enable", "checkbox") - CreateConfig(nil, "FlightMap", C.thirdparty.flightmap, "enable", "checkbox") - CreateConfig(nil, "TheoryCraft", C.thirdparty.theorycraft, "enable", "checkbox") - CreateConfig(nil, "SuperMacro", C.thirdparty.supermacro, "enable", "checkbox") - CreateConfig(nil, "AtlasLoot", C.thirdparty.atlasloot, "enable", "checkbox") - CreateConfig(nil, "MyRolePlay", C.thirdparty.myroleplay, "enable", "checkbox") - CreateConfig(nil, "DruidManaBar", C.thirdparty.druidmana, "enable", "checkbox") - CreateConfig(nil, "NoteIt", C.thirdparty.noteit, "enable", "checkbox") + CreateConfig(nil, "FlightMap", C.thirdparty.flightmap, "enable", "checkbox", nil, nil, nil, nil, "vanilla") + CreateConfig(nil, "TheoryCraft", C.thirdparty.theorycraft, "enable", "checkbox", nil, nil, nil, nil, "vanilla") + CreateConfig(nil, "SuperMacro", C.thirdparty.supermacro, "enable", "checkbox", nil, nil, nil, nil, "vanilla") + CreateConfig(nil, "AtlasLoot", C.thirdparty.atlasloot, "enable", "checkbox", nil, nil, nil, nil, "vanilla") + CreateConfig(nil, "MyRolePlay", C.thirdparty.myroleplay, "enable", "checkbox", nil, nil, nil, nil, "vanilla") + CreateConfig(nil, "DruidManaBar", C.thirdparty.druidmana, "enable", "checkbox", nil, nil, nil, nil, "vanilla") + CreateConfig(nil, "NoteIt", C.thirdparty.noteit, "enable", "checkbox", nil, nil, nil, nil, "vanilla") end) CreateGUIEntry(T["Components"], T["Modules"], function()