aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelgroupnotices.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:56 -0500
committerJacek Antonelli2008-08-15 23:44:56 -0500
commitc07901e29ed545bbb02e3bddf148fe1104b94e9f (patch)
treef1ada64ce834acd7d92a425efb96c4b86bcf16b1 /linden/indra/newview/llpanelgroupnotices.cpp
parentSecond Life viewer sources 1.15.0.2 (diff)
downloadmeta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.zip
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.gz
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.bz2
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.xz
Second Life viewer sources 1.15.1.3
Diffstat (limited to '')
-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