synchronized creation of notification chiclet and notification window to avoid skipping notifications from notification window;

--HG--
branch : product-engine
meow-7.2.2
Alexei Arabadji 2009-12-11 12:13:52 +02:00
parent 791465bab9
commit 5e0bd59c61
1 changed files with 5 additions and 0 deletions

View File

@ -53,6 +53,7 @@
#include "llgroupmgr.h"
#include "llnotificationmanager.h"
#include "lltransientfloatermgr.h"
#include "llsyswellwindow.h"
static LLDefaultChildRegistry::Register<LLChicletPanel> t1("chiclet_panel");
static LLDefaultChildRegistry::Register<LLIMWellChiclet> t2_0("chiclet_im_well");
@ -233,6 +234,10 @@ LLNotificationChiclet::LLNotificationChiclet(const Params& p)
connectCounterUpdatersToSignal("notify");
connectCounterUpdatersToSignal("groupnotify");
connectCounterUpdatersToSignal("offer");
// ensure that notification well window exists, to synchronously
// handle toast add/delete events.
LLNotificationWellWindow::getInstance();
}
void LLNotificationChiclet::connectCounterUpdatersToSignal(const std::string& notification_type)