From 61e6c888f04bdcf2e9c0b4cb9754c7827f831e35 Mon Sep 17 00:00:00 2001 From: Igor Borovkov Date: Fri, 12 Mar 2010 12:09:22 +0200 Subject: fixed EXT-3607 (Cancelling a Land Sale to Specific Person Allows Land to be Set For Sale to Anyone Briefly) added additional check so that "for sale to anyone" text is shown only when a parcel is on sale reviewed by Richard at https://codereview.productengine.com/secondlife/r/4/ --HG-- branch : product-engine --- indra/newview/llfloaterland.cpp | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llfloaterland.cpp b/indra/newview/llfloaterland.cpp index 26a179074d..65003d9b5c 100644 --- a/indra/newview/llfloaterland.cpp +++ b/indra/newview/llfloaterland.cpp @@ -820,16 +820,19 @@ void LLPanelLandGeneral::refreshNames() } mTextGroup->setText(group); - const LLUUID& auth_buyer_id = parcel->getAuthorizedBuyerID(); - if(auth_buyer_id.notNull()) + if (parcel->getForSale()) { - std::string name; - name = LLSLURL::buildCommand("agent", auth_buyer_id, "inspect"); - mSaleInfoForSale2->setTextArg("[BUYER]", name); - } - else - { - mSaleInfoForSale2->setTextArg("[BUYER]", getString("anyone")); + const LLUUID& auth_buyer_id = parcel->getAuthorizedBuyerID(); + if(auth_buyer_id.notNull()) + { + std::string name; + name = LLSLURL::buildCommand("agent", auth_buyer_id, "inspect"); + mSaleInfoForSale2->setTextArg("[BUYER]", name); + } + else + { + mSaleInfoForSale2->setTextArg("[BUYER]", getString("anyone")); + } } } -- cgit v1.2.3 From 4dc63de6a8b26e3b880771f043b20d8eded2d8e5 Mon Sep 17 00:00:00 2001 From: Igor Borovkov Date: Fri, 12 Mar 2010 12:13:33 +0200 Subject: completed EXT-6305 (Remove "ScriptToast" notification in xui/en and all localizations) just cleaned up notifications.xml reviewed by Richard and Tofu at https://codereview.productengine.com/secondlife/r/1/ --HG-- branch : product-engine --- .../newview/skins/default/xui/en/notifications.xml | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml index a2540237c8..5680b91c05 100644 --- a/indra/newview/skins/default/xui/en/notifications.xml +++ b/indra/newview/skins/default/xui/en/notifications.xml @@ -5379,27 +5379,6 @@ Grant this request? - - [FIRST] [LAST]'s '[TITLE]' is requesting Resident input. -
-