From 637674c541e58fdfb11c5deab146c817d13b07c3 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Fri, 25 Jun 2010 17:38:11 +0200 Subject: [PATCH] The info are for "newbs", treat it like that --- Broker_Equipment.lua | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Broker_Equipment.lua b/Broker_Equipment.lua index bb927c2..a6c938e 100644 --- a/Broker_Equipment.lua +++ b/Broker_Equipment.lua @@ -111,15 +111,17 @@ function addon:initialize(...) UIDropDownMenu_AddButton(info, ...) end - wipe(info) - info.disabled = 1 - info.notCheckable = 1 + if(SHOW_NEWBIE_TIPS == '1') then + wipe(info) + info.disabled = 1 + info.notCheckable = 1 - info.text = ns.L[3] - UIDropDownMenu_AddButton(info, ...) + info.text = ns.L[3] + UIDropDownMenu_AddButton(info, ...) - info.text = ns.L[4] - UIDropDownMenu_AddButton(info, ...) + info.text = ns.L[4] + UIDropDownMenu_AddButton(info, ...) + end end function addon:ADDON_LOADED(name, event) -- 1.7.9.5