aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-03-01 06:18:48 -0700
committerMcCabe Maxsted2009-03-01 06:18:48 -0700
commit5da3caef4c8f36cdf672e4178fc30346814f14bc (patch)
treede5a37e4827e91ea8e36453a9b4dc728ddb26d86 /linden
parentFixed pause button texture showing up in certain instances (diff)
downloadmeta-impy-5da3caef4c8f36cdf672e4178fc30346814f14bc.zip
meta-impy-5da3caef4c8f36cdf672e4178fc30346814f14bc.tar.gz
meta-impy-5da3caef4c8f36cdf672e4178fc30346814f14bc.tar.bz2
meta-impy-5da3caef4c8f36cdf672e4178fc30346814f14bc.tar.xz
Backported fix for VWR-6744 (No way to hide IMs in chat console)
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/llfloaterchat.cpp6
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/panel_preferences_im.xml2
2 files changed, 6 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloaterchat.cpp b/linden/indra/newview/llfloaterchat.cpp
index a626ad3..14f9a10 100644
--- a/linden/indra/newview/llfloaterchat.cpp
+++ b/linden/indra/newview/llfloaterchat.cpp
@@ -385,7 +385,11 @@ void LLFloaterChat::addChat(const LLChat& chat,
385 text_color = gSavedSettings.getColor("IMChatColor"); 385 text_color = gSavedSettings.getColor("IMChatColor");
386 size = INSTANT_MSG_SIZE; 386 size = INSTANT_MSG_SIZE;
387 } 387 }
388 gConsole->addLine(chat.mText, size, text_color); 388 // We display anything if it's not an IM. If it's an IM, check pref...
389 if ( !from_instant_message || gSavedSettings.getBOOL("IMInChatHistory") )
390 {
391 gConsole->addLine(chat.mText, size, text_color);
392 }
389 } 393 }
390 394
391 if(from_instant_message && gSavedPerAccountSettings.getBOOL("LogChatIM")) 395 if(from_instant_message && gSavedPerAccountSettings.getBOOL("LogChatIM"))
diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_im.xml b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_im.xml
index d3174af..8020e9a 100644
--- a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_im.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_im.xml
@@ -28,7 +28,7 @@
28 width="350" /> 28 width="350" />
29 <check_box bottom="-65" control_name="IMInChatHistory" enabled="true" follows="left|top" 29 <check_box bottom="-65" control_name="IMInChatHistory" enabled="true" follows="left|top"
30 font="SansSerifSmall" height="16" initial_value="false" 30 font="SansSerifSmall" height="16" initial_value="false"
31 label="Include IM in Local Chat" left="148" mouse_opaque="true" 31 label="Show IMs with Chat" left="148" mouse_opaque="true"
32 name="include_im_in_chat_history" radio_style="false" width="237" /> 32 name="include_im_in_chat_history" radio_style="false" width="237" />
33 <check_box bottom="-85" control_name="IMShowTimestamps" enabled="true" follows="left|top" 33 <check_box bottom="-85" control_name="IMShowTimestamps" enabled="true" follows="left|top"
34 font="SansSerifSmall" height="16" initial_value="false" 34 font="SansSerifSmall" height="16" initial_value="false"