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 0548287..4daead0 100644
--- a/linden/indra/newview/llprefsim.cpp
+++ b/linden/indra/newview/llprefsim.cpp
@@ -98,6 +98,7 @@ BOOL LLPrefsIMImpl::postBuild()
98 98
99 // Don't enable this until we get personal data 99 // Don't enable this until we get personal data
100 childDisable("include_im_in_chat_console"); 100 childDisable("include_im_in_chat_console");
101 childDisable("include_im_in_chat_history");
101 childDisable("show_timestamps_check"); 102 childDisable("show_timestamps_check");
102 childDisable("friends_online_notify_checkbox"); 103 childDisable("friends_online_notify_checkbox");
103 104
@@ -116,6 +117,7 @@ BOOL LLPrefsIMImpl::postBuild()
116 childSetText("busy_response", getString("log_in_to_change")); 117 childSetText("busy_response", getString("log_in_to_change"));
117 118
118 childSetValue("include_im_in_chat_console", gSavedSettings.getBOOL("IMInChatConsole")); 119 childSetValue("include_im_in_chat_console", gSavedSettings.getBOOL("IMInChatConsole"));
120 childSetValue("include_im_in_chat_history", gSavedSettings.getBOOL("IMInChatHistory"));
119 childSetValue("show_timestamps_check", gSavedSettings.getBOOL("IMShowTimestamps")); 121 childSetValue("show_timestamps_check", gSavedSettings.getBOOL("IMShowTimestamps"));
120 childSetValue("friends_online_notify_checkbox", gSavedSettings.getBOOL("ChatOnlineNotification")); 122 childSetValue("friends_online_notify_checkbox", gSavedSettings.getBOOL("ChatOnlineNotification"));
121 123
@@ -165,6 +167,7 @@ void LLPrefsIMImpl::apply()
165 gSavedPerAccountSettings.setString("BusyModeResponse", std::string(wstring_to_utf8str(busy_response))); 167 gSavedPerAccountSettings.setString("BusyModeResponse", std::string(wstring_to_utf8str(busy_response)));
166 168
167 gSavedSettings.setBOOL("IMInChatConsole", childGetValue("include_im_in_chat_console").asBoolean()); 169 gSavedSettings.setBOOL("IMInChatConsole", childGetValue("include_im_in_chat_console").asBoolean());
170 gSavedSettings.setBOOL("IMInChatHistory", childGetValue("include_im_in_chat_history").asBoolean());
168 gSavedSettings.setBOOL("IMShowTimestamps", childGetValue("show_timestamps_check").asBoolean()); 171 gSavedSettings.setBOOL("IMShowTimestamps", childGetValue("show_timestamps_check").asBoolean());
169 gSavedSettings.setBOOL("ChatOnlineNotification", childGetValue("friends_online_notify_checkbox").asBoolean()); 172 gSavedSettings.setBOOL("ChatOnlineNotification", childGetValue("friends_online_notify_checkbox").asBoolean());
170 173
@@ -236,6 +239,7 @@ void LLPrefsIMImpl::setPersonalInfo(const std::string& visibility, bool im_via_e
236 } 239 }
237 240
238 childEnable("include_im_in_chat_console"); 241 childEnable("include_im_in_chat_console");
242 childEnable("include_im_in_chat_history");
239 childEnable("show_timestamps_check"); 243 childEnable("show_timestamps_check");
240 childEnable("friends_online_notify_checkbox"); 244 childEnable("friends_online_notify_checkbox");
241 245