aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelgroupnotices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpanelgroupnotices.cpp')
-rw-r--r--linden/indra/newview/llpanelgroupnotices.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llpanelgroupnotices.cpp b/linden/indra/newview/llpanelgroupnotices.cpp
index 373f3f2..a001455 100644
--- a/linden/indra/newview/llpanelgroupnotices.cpp
+++ b/linden/indra/newview/llpanelgroupnotices.cpp
@@ -204,7 +204,7 @@ LLPanelGroupNotices::~LLPanelGroupNotices()
204 if (mInventoryOffer) 204 if (mInventoryOffer)
205 { 205 {
206 // Cancel the inventory offer. 206 // Cancel the inventory offer.
207 inventory_offer_callback( 1 , mInventoryOffer); 207 inventory_offer_callback( IOR_DECLINE , mInventoryOffer);
208 mInventoryOffer = NULL; 208 mInventoryOffer = NULL;
209 } 209 }
210} 210}
@@ -359,7 +359,7 @@ void LLPanelGroupNotices::onClickOpenAttachment(void* data)
359{ 359{
360 LLPanelGroupNotices* self = (LLPanelGroupNotices*)data; 360 LLPanelGroupNotices* self = (LLPanelGroupNotices*)data;
361 361
362 inventory_offer_callback( 0 , self->mInventoryOffer); 362 inventory_offer_callback( IOR_ACCEPT , self->mInventoryOffer);
363 self->mInventoryOffer = NULL; 363 self->mInventoryOffer = NULL;
364 self->mBtnOpenAttachment->setEnabled(FALSE); 364 self->mBtnOpenAttachment->setEnabled(FALSE);
365} 365}
@@ -398,7 +398,7 @@ void LLPanelGroupNotices::onClickNewMessage(void* data)
398 398
399 if (self->mInventoryOffer) 399 if (self->mInventoryOffer)
400 { 400 {
401 inventory_offer_callback( 1 , self->mInventoryOffer); 401 inventory_offer_callback( IOR_DECLINE , self->mInventoryOffer);
402 self->mInventoryOffer = NULL; 402 self->mInventoryOffer = NULL;
403 } 403 }
404 404
@@ -548,7 +548,7 @@ void LLPanelGroupNotices::showNotice(const char* subject,
548 if (mInventoryOffer) 548 if (mInventoryOffer)
549 { 549 {
550 // Cancel the inventory offer for the previously viewed notice 550 // Cancel the inventory offer for the previously viewed notice
551 inventory_offer_callback( 1 , mInventoryOffer); 551 inventory_offer_callback( IOR_DECLINE , mInventoryOffer);
552 mInventoryOffer = NULL; 552 mInventoryOffer = NULL;
553 } 553 }
554 554