diff options
author | McCabe Maxsted | 2009-03-01 06:18:48 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-03-01 06:18:48 -0700 |
commit | 5da3caef4c8f36cdf672e4178fc30346814f14bc (patch) | |
tree | de5a37e4827e91ea8e36453a9b4dc728ddb26d86 | |
parent | Fixed pause button texture showing up in certain instances (diff) | |
download | meta-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)
-rw-r--r-- | ChangeLog.txt | 8 | ||||
-rw-r--r-- | linden/indra/newview/llfloaterchat.cpp | 6 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/panel_preferences_im.xml | 2 |
3 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 34cc409..64a65cd 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -1,3 +1,11 @@ | |||
1 | 2009-03-01 McCabe Maxsted <hakushakukun@gmail.com> | ||
2 | |||
3 | * linden/indra/newview/llfloaterchat.cpp: | ||
4 | Backported fix for VWR-6744 (No way to hide IMs in chat console). | ||
5 | * linden/indra/newview/skins/default/xui/en-us/panel_preferences_im.xml: | ||
6 | Ditto. | ||
7 | |||
8 | |||
1 | 2009-02-28 McCabe Maxsted <hakushakukun@gmail.com> | 9 | 2009-02-28 McCabe Maxsted <hakushakukun@gmail.com> |
2 | 10 | ||
3 | * linden/indra/newview/skins/default/textures/textures.xml: | 11 | * linden/indra/newview/skins/default/textures/textures.xml: |
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" |