aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llprefsim.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-10-10 00:44:27 -0700
committerMcCabe Maxsted2009-10-10 00:44:27 -0700
commitfac71ad35e5dc3db777a98d60c30b6d56219a035 (patch)
tree197d051879193dbbe2b3db223714acc8af637a88 /linden/indra/newview/llprefsim.cpp
parentUpdated version info to 1.2.0 beta 2, added changelog banner (diff)
downloadmeta-impy-fac71ad35e5dc3db777a98d60c30b6d56219a035.zip
meta-impy-fac71ad35e5dc3db777a98d60c30b6d56219a035.tar.gz
meta-impy-fac71ad35e5dc3db777a98d60c30b6d56219a035.tar.bz2
meta-impy-fac71ad35e5dc3db777a98d60c30b6d56219a035.tar.xz
Added and tweaked vertical IM option from Emerald viewer
Diffstat (limited to 'linden/indra/newview/llprefsim.cpp')
-rw-r--r--linden/indra/newview/llprefsim.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/newview/llprefsim.cpp b/linden/indra/newview/llprefsim.cpp
index 3d71202..b6fbc88 100644
--- a/linden/indra/newview/llprefsim.cpp
+++ b/linden/indra/newview/llprefsim.cpp
@@ -121,6 +121,7 @@ BOOL LLPrefsIMImpl::postBuild()
121 childSetValue("include_im_in_chat_history", gSavedSettings.getBOOL("IMInChatHistory")); 121 childSetValue("include_im_in_chat_history", gSavedSettings.getBOOL("IMInChatHistory"));
122 childSetValue("show_timestamps_check", gSavedSettings.getBOOL("IMShowTimestamps")); 122 childSetValue("show_timestamps_check", gSavedSettings.getBOOL("IMShowTimestamps"));
123 childSetValue("friends_online_notify_checkbox", gSavedSettings.getBOOL("ChatOnlineNotification")); 123 childSetValue("friends_online_notify_checkbox", gSavedSettings.getBOOL("ChatOnlineNotification"));
124 childSetValue("vertical-imtabs-toggle", gSavedSettings.getBOOL("VerticalIMTabs"));
124 125
125 childSetText("log_path_string", gSavedPerAccountSettings.getString("InstantMessageLogPath")); 126 childSetText("log_path_string", gSavedPerAccountSettings.getString("InstantMessageLogPath"));
126 childSetValue("log_instant_messages", gSavedPerAccountSettings.getBOOL("LogInstantMessages")); 127 childSetValue("log_instant_messages", gSavedPerAccountSettings.getBOOL("LogInstantMessages"));
@@ -216,6 +217,7 @@ void LLPrefsIMImpl::apply()
216 gAgent.sendReliableMessage(); 217 gAgent.sendReliableMessage();
217 } 218 }
218 } 219 }
220 gSavedSettings.setBOOL("VerticalIMTabs", childGetValue("vertical-imtabs-toggle").asBoolean());
219} 221}
220 222
221void LLPrefsIMImpl::setPersonalInfo(const std::string& visibility, bool im_via_email, const std::string& email) 223void LLPrefsIMImpl::setPersonalInfo(const std::string& visibility, bool im_via_email, const std::string& email)