summaryrefslogtreecommitdiff
path: root/indra/newview/lltoastgroupnotifypanel.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2009-08-14 14:44:36 -0400
committerNat Goodspeed <nat@lindenlab.com>2009-08-14 14:44:36 -0400
commit21bfcbde7ec6e6b3e8a92237b7c33879216c4e82 (patch)
tree5346bb05d7f74d2f2021883ff0ee4f32bbb56f4a /indra/newview/lltoastgroupnotifypanel.cpp
parent2da8eb43d57ae6876f9955386f604f2c56849211 (diff)
parentaff85ed92c5aad3a9445cf4ec5447cc56c44dfc0 (diff)
Merge changes
Diffstat (limited to 'indra/newview/lltoastgroupnotifypanel.cpp')
-rw-r--r--indra/newview/lltoastgroupnotifypanel.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/indra/newview/lltoastgroupnotifypanel.cpp b/indra/newview/lltoastgroupnotifypanel.cpp
index f5ed7f8710..8a61f6cfda 100644
--- a/indra/newview/lltoastgroupnotifypanel.cpp
+++ b/indra/newview/lltoastgroupnotifypanel.cpp
@@ -44,7 +44,6 @@
#include "lluiconstants.h"
#include "llui.h"
#include "llviewercontrol.h"
-#include "llfloatergroupinfo.h"
#include "lltrans.h"
#include "llinitparam.h"
@@ -76,14 +75,14 @@ LLToastGroupNotifyPanel::LLToastGroupNotifyPanel(LLNotificationPtr& notification
const std::string& from_name = payload["sender_name"].asString();
std::stringstream from;
from << from_name << "/" << groupData.mName;
- LLTextBox* pTitleText = this->getChild<LLTextBox>("title", TRUE, FALSE);
+ LLTextBox* pTitleText = this->getChild<LLTextBox>("title");
pTitleText->setValue(from.str());
//message body
const std::string& subject = payload["subject"].asString();
const std::string& message = payload["message"].asString();
- LLTextEditor* pMessageText = getChild< LLTextEditor>("message", TRUE, FALSE);
+ LLTextEditor* pMessageText = getChild< LLTextEditor>("message");
pMessageText->setValue("");
pMessageText->setEnabled(FALSE);
pMessageText->setTakesFocus(FALSE);
@@ -113,7 +112,7 @@ LLToastGroupNotifyPanel::LLToastGroupNotifyPanel(LLNotificationPtr& notification
//attachment
BOOL hasInventory = payload["inventory_offer"].isDefined();
- LLTextBox * pAttachLink = getChild<LLTextBox>("attachment", TRUE, FALSE);
+ LLTextBox * pAttachLink = getChild<LLTextBox>("attachment");
pAttachLink->setVisible(hasInventory);
if (hasInventory) {
pAttachLink->setValue(payload["inventory_name"]);
@@ -130,7 +129,7 @@ LLToastGroupNotifyPanel::LLToastGroupNotifyPanel(LLNotificationPtr& notification
}
//ok button
- LLButton* pOkBtn = getChild<LLButton>("btn_ok", TRUE, FALSE);
+ LLButton* pOkBtn = getChild<LLButton>("btn_ok");
pOkBtn->setClickedCallback((boost::bind(&LLToastGroupNotifyPanel::onClickOk, this)));
setDefaultBtn(pOkBtn);
}
@@ -167,8 +166,7 @@ void LLToastGroupNotifyPanel::onClickAttachment()
if (mInventoryOffer != NULL) {
mInventoryOffer->forceResponse(IOR_ACCEPT);
- LLTextBox * pAttachLink = getChild<LLTextBox> ("attachment", TRUE,
- FALSE);
+ LLTextBox * pAttachLink = getChild<LLTextBox> ("attachment");
static const LLUIColor textColor = LLUIColorTable::instance().getColor(
"GroupNotifyDimmedTextColor");
pAttachLink->setColor(textColor);