diff options
author | Kent Quirk <q@lindenlab.com> | 2009-01-05 18:59:12 +0000 |
---|---|---|
committer | Kent Quirk <q@lindenlab.com> | 2009-01-05 18:59:12 +0000 |
commit | 667ca55bad0108c4bdf8f007b89e1a52fc766aad (patch) | |
tree | 7bd62ac8d9af079c3994565f3f200ccc250bbc28 /indra/newview/llstatusbar.cpp | |
parent | 95f365789f4cebc7bd97ccefd538f14d481a8373 (diff) |
svn merge -r106715:HEAD svn+ssh://svn.lindenlab.com/svn/linden/branches/q/notifications-merge-r106715 . QAR-1149 -- Final merge of notifications to trunk.
Diffstat (limited to 'indra/newview/llstatusbar.cpp')
-rw-r--r-- | indra/newview/llstatusbar.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/indra/newview/llstatusbar.cpp b/indra/newview/llstatusbar.cpp index 278f7ea9d1..8b274a045b 100644 --- a/indra/newview/llstatusbar.cpp +++ b/indra/newview/llstatusbar.cpp @@ -767,7 +767,7 @@ static void onClickBuyCurrency(void* data) static void onClickHealth(void* ) { - LLNotifyBox::showXml("NotSafe"); + LLNotifications::instance().add("NotSafe"); } static void onClickScriptDebug(void*) @@ -777,22 +777,22 @@ static void onClickScriptDebug(void*) static void onClickFly(void* ) { - LLNotifyBox::showXml("NoFly"); + LLNotifications::instance().add("NoFly"); } static void onClickPush(void* ) { - LLNotifyBox::showXml("PushRestricted"); + LLNotifications::instance().add("PushRestricted"); } static void onClickVoice(void* ) { - LLNotifyBox::showXml("NoVoice"); + LLNotifications::instance().add("NoVoice"); } static void onClickBuild(void*) { - LLNotifyBox::showXml("NoBuild"); + LLNotifications::instance().add("NoBuild"); } static void onClickScripts(void*) @@ -800,15 +800,15 @@ static void onClickScripts(void*) LLViewerRegion* region = gAgent.getRegion(); if(region && region->getRegionFlags() & REGION_FLAGS_ESTATE_SKIP_SCRIPTS) { - LLNotifyBox::showXml("ScriptsStopped"); + LLNotifications::instance().add("ScriptsStopped"); } else if(region && region->getRegionFlags() & REGION_FLAGS_SKIP_SCRIPTS) { - LLNotifyBox::showXml("ScriptsNotRunning"); + LLNotifications::instance().add("ScriptsNotRunning"); } else { - LLNotifyBox::showXml("NoOutsideScripts"); + LLNotifications::instance().add("NoOutsideScripts"); } } |