aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llgivemoney.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2010-01-30 22:49:42 -0600
committerJacek Antonelli2010-02-02 20:40:02 -0600
commit72afc406b281e4c839c43a8059dd5255e83f69ed (patch)
treec50c2061d8da611be2eb8ef49bfe244cbb86fd6d /linden/indra/newview/llgivemoney.cpp
parentImproved "Pay Resident" floater layout and XML. (diff)
downloadmeta-impy-72afc406b281e4c839c43a8059dd5255e83f69ed.zip
meta-impy-72afc406b281e4c839c43a8059dd5255e83f69ed.tar.gz
meta-impy-72afc406b281e4c839c43a8059dd5255e83f69ed.tar.bz2
meta-impy-72afc406b281e4c839c43a8059dd5255e83f69ed.tar.xz
Improved "Pay Object" floater layout and XML.
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llgivemoney.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/linden/indra/newview/llgivemoney.cpp b/linden/indra/newview/llgivemoney.cpp
index 849787f..423357d 100644
--- a/linden/indra/newview/llgivemoney.cpp
+++ b/linden/indra/newview/llgivemoney.cpp
@@ -353,7 +353,7 @@ void LLFloaterPay::payViaObject(money_callback callback, const LLUUID& object_id
353 BOOL is_group = FALSE; 353 BOOL is_group = FALSE;
354 node->mPermissions->getOwnership(owner_id, is_group); 354 node->mPermissions->getOwnership(owner_id, is_group);
355 355
356 floater->childSetText("object_name_text",node->mName); 356 floater->childSetTextArg("via object", "[OBJECT]", node->mName);
357 357
358 floater->finishPayUI(owner_id, is_group); 358 floater->finishPayUI(owner_id, is_group);
359} 359}
@@ -404,13 +404,11 @@ void LLFloaterPay::onCacheOwnerName(const LLUUID& owner_id,
404 404
405 if (is_group) 405 if (is_group)
406 { 406 {
407 self->childSetVisible("payee_group",true); 407 self->setTitleArg("[PAY TYPE]", self->getString("pay group") );
408 self->childSetVisible("payee_resident",false);
409 } 408 }
410 else 409 else
411 { 410 {
412 self->childSetVisible("payee_group",false); 411 self->setTitleArg("[PAY TYPE]", self->getString("pay resident") );
413 self->childSetVisible("payee_resident",true);
414 } 412 }
415 413
416 self->childSetTextArg("payee_name", "[FIRST]", firstname); 414 self->childSetTextArg("payee_name", "[FIRST]", firstname);