From fac71ad35e5dc3db777a98d60c30b6d56219a035 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Sat, 10 Oct 2009 00:44:27 -0700 Subject: Added and tweaked vertical IM option from Emerald viewer --- linden/indra/newview/llprefsim.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linden/indra/newview/llprefsim.cpp') 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() childSetValue("include_im_in_chat_history", gSavedSettings.getBOOL("IMInChatHistory")); childSetValue("show_timestamps_check", gSavedSettings.getBOOL("IMShowTimestamps")); childSetValue("friends_online_notify_checkbox", gSavedSettings.getBOOL("ChatOnlineNotification")); + childSetValue("vertical-imtabs-toggle", gSavedSettings.getBOOL("VerticalIMTabs")); childSetText("log_path_string", gSavedPerAccountSettings.getString("InstantMessageLogPath")); childSetValue("log_instant_messages", gSavedPerAccountSettings.getBOOL("LogInstantMessages")); @@ -216,6 +217,7 @@ void LLPrefsIMImpl::apply() gAgent.sendReliableMessage(); } } + gSavedSettings.setBOOL("VerticalIMTabs", childGetValue("vertical-imtabs-toggle").asBoolean()); } void LLPrefsIMImpl::setPersonalInfo(const std::string& visibility, bool im_via_email, const std::string& email) -- cgit v1.1