Skip to content
Snippets Groups Projects
Commit 2ab4bf8b authored by Alexei Arabadji's avatar Alexei Arabadji
Browse files

fixed EXT-5378 “Transient exception manager doesn't work if switch to tabbed IM window”,

added side tray tab to global group of transient exception list;
added LLIMFloaterContainer to IM group of transient exception list;
made VCP belongs to IM transient group;

--HG--
branch : product-engine
parent c826e560
No related branches found
No related tags found
No related merge requests found
...@@ -260,6 +260,10 @@ private: ...@@ -260,6 +260,10 @@ private:
* @see sOnCurrentChannelChanged() * @see sOnCurrentChannelChanged()
*/ */
static LLVoiceChannel* sCurrentVoiceCanel; static LLVoiceChannel* sCurrentVoiceCanel;
/* virtual */
LLTransientFloaterMgr::ETransientGroup getGroup() { return LLTransientFloaterMgr::IM; }
boost::signals2::connection mVoiceChannelStateChangeConnection; boost::signals2::connection mVoiceChannelStateChangeConnection;
}; };
......
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
#include "llavatariconctrl.h" #include "llavatariconctrl.h"
#include "llgroupiconctrl.h" #include "llgroupiconctrl.h"
#include "llagent.h" #include "llagent.h"
#include "lltransientfloatermgr.h"
// //
// LLIMFloaterContainer // LLIMFloaterContainer
...@@ -47,9 +48,13 @@ LLIMFloaterContainer::LLIMFloaterContainer(const LLSD& seed) ...@@ -47,9 +48,13 @@ LLIMFloaterContainer::LLIMFloaterContainer(const LLSD& seed)
: LLMultiFloater(seed) : LLMultiFloater(seed)
{ {
mAutoResize = FALSE; mAutoResize = FALSE;
LLTransientFloaterMgr::getInstance()->addControlView(LLTransientFloaterMgr::IM, this);
} }
LLIMFloaterContainer::~LLIMFloaterContainer(){} LLIMFloaterContainer::~LLIMFloaterContainer()
{
LLTransientFloaterMgr::getInstance()->removeControlView(LLTransientFloaterMgr::IM, this);
}
BOOL LLIMFloaterContainer::postBuild() BOOL LLIMFloaterContainer::postBuild()
{ {
......
...@@ -248,6 +248,11 @@ LLSideTray::LLSideTray(Params& params) ...@@ -248,6 +248,11 @@ LLSideTray::LLSideTray(Params& params)
// panel_name should be specified via "parameter" attribute. // panel_name should be specified via "parameter" attribute.
commit.add("SideTray.ShowPanel", boost::bind(&LLSideTray::showPanel, this, _2, LLUUID::null)); commit.add("SideTray.ShowPanel", boost::bind(&LLSideTray::showPanel, this, _2, LLUUID::null));
LLTransientFloaterMgr::getInstance()->addControlView(this); LLTransientFloaterMgr::getInstance()->addControlView(this);
LLView* side_bar_tabs = gViewerWindow->getRootView()->getChildView("side_bar_tabs");
if (side_bar_tabs != NULL)
{
LLTransientFloaterMgr::getInstance()->addControlView(side_bar_tabs);
}
LLPanel::Params p; LLPanel::Params p;
p.name = "buttons_panel"; p.name = "buttons_panel";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment