aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llprefsim.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llprefsim.cpp')
-rw-r--r--linden/indra/newview/llprefsim.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/newview/llprefsim.cpp b/linden/indra/newview/llprefsim.cpp
index 1af6e86..39619b7 100644
--- a/linden/indra/newview/llprefsim.cpp
+++ b/linden/indra/newview/llprefsim.cpp
@@ -96,6 +96,7 @@ BOOL LLPrefsIMImpl::postBuild()
96 childSetLabelArg("send_im_to_email", "[EMAIL]", getString("log_in_to_change")); 96 childSetLabelArg("send_im_to_email", "[EMAIL]", getString("log_in_to_change"));
97 97
98 // Don't enable this until we get personal data 98 // Don't enable this until we get personal data
99 childDisable("include_im_in_chat_console");
99 childDisable("include_im_in_chat_history"); 100 childDisable("include_im_in_chat_history");
100 childDisable("show_timestamps_check"); 101 childDisable("show_timestamps_check");
101 childDisable("friends_online_notify_checkbox"); 102 childDisable("friends_online_notify_checkbox");
@@ -114,6 +115,7 @@ BOOL LLPrefsIMImpl::postBuild()
114 115
115 childSetText("busy_response", getString("log_in_to_change")); 116 childSetText("busy_response", getString("log_in_to_change"));
116 117
118 childSetValue("include_im_in_chat_console", gSavedSettings.getBOOL("IMInChatConsole"));
117 childSetValue("include_im_in_chat_history", gSavedSettings.getBOOL("IMInChatHistory")); 119 childSetValue("include_im_in_chat_history", gSavedSettings.getBOOL("IMInChatHistory"));
118 childSetValue("show_timestamps_check", gSavedSettings.getBOOL("IMShowTimestamps")); 120 childSetValue("show_timestamps_check", gSavedSettings.getBOOL("IMShowTimestamps"));
119 childSetValue("friends_online_notify_checkbox", gSavedSettings.getBOOL("ChatOnlineNotification")); 121 childSetValue("friends_online_notify_checkbox", gSavedSettings.getBOOL("ChatOnlineNotification"));
@@ -163,6 +165,7 @@ void LLPrefsIMImpl::apply()
163 165
164 gSavedPerAccountSettings.setString("BusyModeResponse", std::string(wstring_to_utf8str(busy_response))); 166 gSavedPerAccountSettings.setString("BusyModeResponse", std::string(wstring_to_utf8str(busy_response)));
165 167
168 gSavedSettings.setBOOL("IMInChatConsole", childGetValue("include_im_in_chat_console").asBoolean());
166 gSavedSettings.setBOOL("IMInChatHistory", childGetValue("include_im_in_chat_history").asBoolean()); 169 gSavedSettings.setBOOL("IMInChatHistory", childGetValue("include_im_in_chat_history").asBoolean());
167 gSavedSettings.setBOOL("IMShowTimestamps", childGetValue("show_timestamps_check").asBoolean()); 170 gSavedSettings.setBOOL("IMShowTimestamps", childGetValue("show_timestamps_check").asBoolean());
168 gSavedSettings.setBOOL("ChatOnlineNotification", childGetValue("friends_online_notify_checkbox").asBoolean()); 171 gSavedSettings.setBOOL("ChatOnlineNotification", childGetValue("friends_online_notify_checkbox").asBoolean());
@@ -234,6 +237,7 @@ void LLPrefsIMImpl::setPersonalInfo(const std::string& visibility, bool im_via_e
234 mOriginalHideOnlineStatus = true; 237 mOriginalHideOnlineStatus = true;
235 } 238 }
236 239
240 childEnable("include_im_in_chat_console");
237 childEnable("include_im_in_chat_history"); 241 childEnable("include_im_in_chat_history");
238 childEnable("show_timestamps_check"); 242 childEnable("show_timestamps_check");
239 childEnable("friends_online_notify_checkbox"); 243 childEnable("friends_online_notify_checkbox");