summaryrefslogtreecommitdiff
path: root/indra/newview/llsyswellwindow.cpp
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2009-12-04 14:00:52 +0200
committerMike Antipov <mantipov@productengine.com>2009-12-04 14:00:52 +0200
commit1acc52a7e781a7931d1fc6bfc2313c49eb6be2a2 (patch)
tree9fc3702fa546a28263627695cba7c6048d623cf6 /indra/newview/llsyswellwindow.cpp
parent653ebfbe7ca53515d6c83f6ba72cbb1d3e2d9daf (diff)
Work on normal task EXT-3081 (Separate Message Well on Notifications Well and IM Well)
-- removed member pointer to Notification Well Icon from the LLBottomTray -- placed Well counter over the Icon, made center-aligned --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llsyswellwindow.cpp')
-rw-r--r--indra/newview/llsyswellwindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llsyswellwindow.cpp b/indra/newview/llsyswellwindow.cpp
index 6b7c4049f4..a64c200b92 100644
--- a/indra/newview/llsyswellwindow.cpp
+++ b/indra/newview/llsyswellwindow.cpp
@@ -46,6 +46,8 @@
#include "llnotificationmanager.h"
+static std::string NOTIFICATION_WELL_ANCHOR_NAME = "notification_well_panel";
+
//---------------------------------------------------------------------------------
LLSysWellWindow::LLSysWellWindow(const LLSD& key) : LLDockableFloater(NULL, key),
mChannel(NULL),
@@ -251,7 +253,7 @@ void LLSysWellWindow::setVisible(BOOL visible)
if (NULL == getDockControl() && getDockTongue().notNull())
{
setDockControl(new LLDockControl(
- LLBottomTray::getInstance()->getSysWell(), this,
+ LLBottomTray::getInstance()->getChild<LLView>(NOTIFICATION_WELL_ANCHOR_NAME), this,
getDockTongue(), LLDockControl::TOP, boost::bind(&LLSysWellWindow::getAllowedRect, this, _1)));
}