diff options
| author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-13 10:19:05 +0100 |
|---|---|---|
| committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-13 10:19:05 +0100 |
| commit | d071cff43fa9529ded274b2aa0c929efbb6f6c91 (patch) | |
| tree | bf46a0be9f5f1a92ce26a5aa50e6e867cd0e656f /indra/newview/llnotificationtiphandler.cpp | |
| parent | 95343d8085d98cf0927747298cd4af7a9ea90766 (diff) | |
| parent | 4f20b91acdddc06b7e033afa42e19f993f7efb30 (diff) | |
PE merge from PE's viewer-trunk
Diffstat (limited to 'indra/newview/llnotificationtiphandler.cpp')
| -rw-r--r-- | indra/newview/llnotificationtiphandler.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llnotificationtiphandler.cpp b/indra/newview/llnotificationtiphandler.cpp index afc00bf7ef..407de79c89 100644 --- a/indra/newview/llnotificationtiphandler.cpp +++ b/indra/newview/llnotificationtiphandler.cpp @@ -157,6 +157,7 @@ bool LLTipHandler::processNotification(const LLSD& notify) } LLToastPanel* notify_box = NULL; + // TODO: this should be implemented in LLToastPanel::buidPanelFromNotification if("FriendOffline" == notification->getName() || "FriendOnline" == notification->getName()) { LLOnlineStatusToast::Params p; @@ -167,6 +168,14 @@ bool LLTipHandler::processNotification(const LLSD& notify) } else { + notify_box = LLToastPanel::buidPanelFromNotification(notification); + } + + // TODO: this if statement should be removed after modification of + // LLToastPanel::buidPanelFromNotification() to allow create generic tip panel + // for all tip notifications except FriendOnline and FriendOffline + if (notify_box == NULL) + { notify_box = new LLToastNotifyPanel(notification); } |
