diff options
author | Rick Pasetto <rick@lindenlab.com> | 2009-11-02 09:54:52 -0800 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2009-11-02 09:54:52 -0800 |
commit | 9ed8b5299f2e5a8a912649e0e6aecaf89b034408 (patch) | |
tree | e7c9ecc91fbbef0c26fd352f2743ac050d8f889e /indra/newview/llimfloater.cpp | |
parent | 55731ee318e6e3c2e9998c6347cbd9d3635115c4 (diff) | |
parent | 3783852444825edf420e6109927df21fd004c3e7 (diff) |
Merge from remote repo
Diffstat (limited to 'indra/newview/llimfloater.cpp')
-rw-r--r-- | indra/newview/llimfloater.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp index f3fec70ac9..b21df87093 100644 --- a/indra/newview/llimfloater.cpp +++ b/indra/newview/llimfloater.cpp @@ -302,6 +302,8 @@ void LLIMFloater::onSlide() LLPanel* im_control_panel = getChild<LLPanel>("panel_im_control_panel"); im_control_panel->setVisible(!im_control_panel->getVisible()); + gSavedSettings.setBOOL("IMShowControlPanel", im_control_panel->getVisible()); + getChild<LLButton>("slide_left_btn")->setVisible(im_control_panel->getVisible()); getChild<LLButton>("slide_right_btn")->setVisible(!im_control_panel->getVisible()); } @@ -344,6 +346,8 @@ LLIMFloater* LLIMFloater::show(const LLUUID& session_id) LLDockControl::TOP, boost::bind(&LLIMFloater::getAllowedRect, floater, _1))); } + floater->childSetVisible("panel_im_control_panel", gSavedSettings.getBOOL("IMShowControlPanel")); + return floater; } @@ -405,8 +409,6 @@ bool LLIMFloater::toggle(const LLUUID& session_id) { // ensure the list of messages is updated when floater is made visible show(session_id); - // update number of unread notifications in the SysWell - LLBottomTray::getInstance()->getSysWell()->updateUreadIMNotifications(); return true; } } |