diff options
Diffstat (limited to 'linden/indra/newview/llpanelgroupnotices.cpp')
-rw-r--r-- | linden/indra/newview/llpanelgroupnotices.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llpanelgroupnotices.cpp b/linden/indra/newview/llpanelgroupnotices.cpp index e07259f..3d5cd3e 100644 --- a/linden/indra/newview/llpanelgroupnotices.cpp +++ b/linden/indra/newview/llpanelgroupnotices.cpp | |||
@@ -320,7 +320,7 @@ void LLPanelGroupNotices::setItem(LLPointer<LLInventoryItem> inv_item) | |||
320 | }; | 320 | }; |
321 | 321 | ||
322 | std::string icon_name = get_item_icon_name(inv_item->getType(), | 322 | std::string icon_name = get_item_icon_name(inv_item->getType(), |
323 | inv_item->getInventoryType(), | 323 | inv_item->getNInventoryType(), |
324 | inv_item->getFlags(), | 324 | inv_item->getFlags(), |
325 | item_is_multi ); | 325 | item_is_multi ); |
326 | 326 | ||
@@ -479,7 +479,7 @@ void LLPanelGroupNotices::processNotices(LLMessageSystem* msg) | |||
479 | { | 479 | { |
480 | std::string icon_name = get_item_icon_name( | 480 | std::string icon_name = get_item_icon_name( |
481 | (LLAssetType::EType)asset_type, | 481 | (LLAssetType::EType)asset_type, |
482 | LLInventoryType::IT_NONE,FALSE, FALSE); | 482 | LLInventoryType::NIT_NONE,FALSE, FALSE); |
483 | row["columns"][0]["type"] = "icon"; | 483 | row["columns"][0]["type"] = "icon"; |
484 | row["columns"][0]["value"] = icon_name; | 484 | row["columns"][0]["value"] = icon_name; |
485 | } | 485 | } |
@@ -547,7 +547,7 @@ void LLPanelGroupNotices::showNotice(const std::string& subject, | |||
547 | mInventoryOffer = inventory_offer; | 547 | mInventoryOffer = inventory_offer; |
548 | 548 | ||
549 | std::string icon_name = get_item_icon_name(mInventoryOffer->mType, | 549 | std::string icon_name = get_item_icon_name(mInventoryOffer->mType, |
550 | LLInventoryType::IT_TEXTURE, | 550 | LLInventoryType::NIT_TEXTURE, |
551 | 0, FALSE); | 551 | 0, FALSE); |
552 | 552 | ||
553 | mViewInventoryIcon->setImage(icon_name); | 553 | mViewInventoryIcon->setImage(icon_name); |