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/llfloaterchatterbox.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'linden/indra/newview/llfloaterchatterbox.cpp') diff --git a/linden/indra/newview/llfloaterchatterbox.cpp b/linden/indra/newview/llfloaterchatterbox.cpp index 5ef5a30..e18cca0 100644 --- a/linden/indra/newview/llfloaterchatterbox.cpp +++ b/linden/indra/newview/llfloaterchatterbox.cpp @@ -97,7 +97,16 @@ LLFloaterChatterBox::LLFloaterChatterBox(const LLSD& seed) : { mAutoResize = FALSE; - LLUICtrlFactory::getInstance()->buildFloater(this, "floater_chatterbox.xml", NULL, FALSE); + // check if vertical tabs is selected + if (gSavedSettings.getBOOL("VerticalIMTabs")) + { + LLUICtrlFactory::getInstance()->buildFloater(this, "floater_chatterbox_vertical.xml", NULL, FALSE); + } + else + { + LLUICtrlFactory::getInstance()->buildFloater(this, "floater_chatterbox.xml", NULL, FALSE); + } + if (gSavedSettings.getBOOL("ContactsTornOff")) { LLFloaterMyFriends* floater_contacts = LLFloaterMyFriends::getInstance(0); -- cgit v1.1