From 44d1b4f1fb81497f026456deca487e4f071048fb Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Fri, 22 Nov 2013 20:21:47 -0500 Subject: [PATCH] A start on the group's feature request to have indication of mute in friends list We may need to trick the friends list into refreshing when someone is muted to complete this feature... probably need mutelist callbacks if those exist --- indra/newview/llfloaterfriends.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/indra/newview/llfloaterfriends.cpp b/indra/newview/llfloaterfriends.cpp index 45cedfeac..b8f155914 100644 --- a/indra/newview/llfloaterfriends.cpp +++ b/indra/newview/llfloaterfriends.cpp @@ -426,6 +426,9 @@ BOOL LLPanelFriends::addFriend(const LLUUID& agent_id) friend_column["value"] = fullname; friend_column["font"] = "SANSSERIF"; friend_column["font-style"] = "NORMAL"; + static const LLCachedControl sDefaultColor(gColors, "DefaultListText"); + static const LLCachedControl sMutedColor("AscentMutedColor"); + friend_column["color"] = LLAvatarActions::isBlocked(agent_id) ? sMutedColor : sDefaultColor; LLSD& online_status_column = element["columns"][LIST_ONLINE_STATUS]; online_status_column["column"] = "icon_online_status";