Added LLNotificationsUtil and switched LLNotifications::instance().add to LLNotificationsUtil::add in a bazillion places.

This commit is contained in:
Shyotl
2011-09-03 19:30:42 -05:00
parent 7b2aa741aa
commit 417f5084b4
124 changed files with 912 additions and 623 deletions

View File

@@ -35,6 +35,7 @@
#include "roles_constants.h"
#include "lllineeditor.h"
#include "llnotificationsutil.h"
#include "lltextbox.h"
#include "lltexteditor.h"
#include "llscrolllistctrl.h"
@@ -648,7 +649,7 @@ void LLPanelGroupVoting::handleResponse(
args["MESSAGE"] = self->mPanel.getString("vote_previously_recorded");
}
LLNotifications::instance().add("SystemMessage", args);
LLNotificationsUtil::add("SystemMessage", args);
self->sendGroupVoteHistoryRequest(self->mGroupID);
}
@@ -1357,7 +1358,7 @@ void LLPanelGroupVoting::impl::onClickSubmitProposal(void *userdata)
//throw up an error dialog
LLSD args;
args["MESSAGE"] = self->mPanel.getString("empty_proposal_txt");
LLNotifications::instance().add("GenericAlert", args);
LLNotificationsUtil::add("GenericAlert", args);
return;
}
@@ -1400,7 +1401,7 @@ void LLPanelGroupVoting::impl::onClickViewProposalItem(void *userdata)
}
else
{
LLNotifications::instance().add("SelectProposalToView");
LLNotificationsUtil::add("SelectProposalToView");
}
}
}
@@ -1440,7 +1441,7 @@ void LLPanelGroupVoting::impl::onClickViewHistoryItem(void *userdata)
}
else
{
LLNotifications::instance().add("SelectHistoryItemToView");
LLNotificationsUtil::add("SelectHistoryItemToView");
}
}
}