diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index f344eeaa6d..1c08ddc4ff 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -1,6 +1,42 @@ + + EnableGroupChatPopups + + Comment + Enable Incoming Group Chat Popups + Persist + 1 + Type + Boolean + Value + 1 + + EnableIMChatPopups + + Comment + Enable Incoming IM Chat Popups + Persist + 1 + Type + Boolean + Value + 1 + + + ShowChatMiniIcons + + Comment + Toggles the display of mini icons in chat history + Persist + 1 + Type + Boolean + Value + 1 + + RestrainedLove Comment diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp index 491ff3a7b8..e8d0f39505 100644 --- a/indra/newview/llchathistory.cpp +++ b/indra/newview/llchathistory.cpp @@ -329,8 +329,15 @@ public: setTimeField(chat); - + LLAvatarIconCtrl* icon = getChild("avatar_icon"); + + // Hacky preference to hide avatar icons for people who don't like them by overdrawing them. Will change to disable soon. -AO + bool display_mini_icon = gSavedSettings.getBOOL("ShowChatMiniIcons"); + if (!display_mini_icon) + { + icon->setColor(LLUIColorTable::instance().getColor("Transparent")); + } if(mSourceType != CHAT_SOURCE_AGENT || mAvatarID.isNull()) icon->setDrawTooltip(false); diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index 3ea15af6f5..c62f859e6d 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -133,6 +133,19 @@ void toast_callback(const LLSD& msg){ return; } + // *NOTE Skip toasting if the user disable it in preferences/debug settings ~Alexandrea + LLIMModel::LLIMSession* session = LLIMModel::instance().findIMSession(msg["session_id"]); + if (!gSavedSettings.getBOOL("EnableGroupChatPopups") && session->isGroupSessionType()) + { + return; + } + if (!gSavedSettings.getBOOL("EnableIMChatPopups") && !session->isGroupSessionType()) + { + return; + } + + + // Skip toasting if we have open window of IM with this session id LLIMFloater* open_im_floater = LLIMFloater::findInstance(msg["session_id"]); if (open_im_floater && open_im_floater->getVisible()) diff --git a/indra/newview/skins/default/colors.xml b/indra/newview/skins/default/colors.xml index eca4e49337..c21da8891e 100644 --- a/indra/newview/skins/default/colors.xml +++ b/indra/newview/skins/default/colors.xml @@ -343,7 +343,7 @@ reference="AvatarListItemIconOfflineColor" /> + reference="DkGray" /> @@ -559,7 +559,7 @@ reference="DkGray" /> + reference="AccentColor" /> @@ -756,7 +756,10 @@ reference="White" /> + reference="DkGray_66" /> + diff --git a/indra/newview/skins/default/xui/en/panel_chat_header.xml b/indra/newview/skins/default/xui/en/panel_chat_header.xml index 17e8d4d2df..15c64f6f56 100644 --- a/indra/newview/skins/default/xui/en/panel_chat_header.xml +++ b/indra/newview/skins/default/xui/en/panel_chat_header.xml @@ -32,7 +32,7 @@ left_pad="5" right="-120" name="user_name" - text_color="white" + text_color="ChatNameColor" bg_readonly_color="black" top="0" use_ellipses="true" diff --git a/indra/newview/skins/default/xui/en/panel_preferences_chat.xml b/indra/newview/skins/default/xui/en/panel_preferences_chat.xml index f5182f70d8..ee7bb4dcbf 100644 --- a/indra/newview/skins/default/xui/en/panel_preferences_chat.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_chat.xml @@ -76,6 +76,16 @@ left="30" name="play_typing_animation" top_pad="5" + width="400" /> + - My effects (selection beam): + Selection effects (particle beam): - Me + My text Errors + + + + + + + Avatar Names + +