aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelclassified.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:11 -0500
committerJacek Antonelli2008-08-15 23:45:11 -0500
commit215f423cbe18fe9ca14a26caef918d303bad28ff (patch)
tree0743442b286216cc8e19aa487c26f4e9345ffd64 /linden/indra/newview/llpanelclassified.cpp
parentSecond Life viewer sources 1.18.3.5-RC (diff)
downloadmeta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.zip
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.gz
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.bz2
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.xz
Second Life viewer sources 1.18.4.0-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpanelclassified.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/linden/indra/newview/llpanelclassified.cpp b/linden/indra/newview/llpanelclassified.cpp
index 96adf06..0c3edf1 100644
--- a/linden/indra/newview/llpanelclassified.cpp
+++ b/linden/indra/newview/llpanelclassified.cpp
@@ -2,6 +2,8 @@
2 * @file llpanelclassified.cpp 2 * @file llpanelclassified.cpp
3 * @brief LLPanelClassified class implementation 3 * @brief LLPanelClassified class implementation
4 * 4 *
5 * $LicenseInfo:firstyear=2005&license=viewergpl$
6 *
5 * Copyright (c) 2005-2007, Linden Research, Inc. 7 * Copyright (c) 2005-2007, Linden Research, Inc.
6 * 8 *
7 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
@@ -24,6 +26,7 @@
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
27 */ 30 */
28 31
29// Display of a classified used both for the global view in the 32// Display of a classified used both for the global view in the
@@ -352,8 +355,7 @@ void LLPanelClassified::initNewClassified()
352 // delay commit until user hits save 355 // delay commit until user hits save
353 // sendClassifiedInfoUpdate(); 356 // sendClassifiedInfoUpdate();
354 357
355 mUpdateBtn->setLabelSelected("Publish..."); 358 mUpdateBtn->setLabel(childGetText("publish_txt"));
356 mUpdateBtn->setLabelUnselected("Publish...");
357} 359}
358 360
359 361
@@ -572,8 +574,8 @@ void LLPanelClassified::processClassifiedInfoReply(LLMessageSystem *msg, void **
572 self->mPosGlobal = pos_global; 574 self->mPosGlobal = pos_global;
573 575
574 // Update UI controls 576 // Update UI controls
575 self->mNameEditor->setText(name); 577 self->mNameEditor->setText(LLString(name));
576 self->mDescEditor->setText(desc); 578 self->mDescEditor->setText(LLString(desc));
577 self->mSnapshotCtrl->setImageAssetID(snapshot_id); 579 self->mSnapshotCtrl->setImageAssetID(snapshot_id);
578 self->mLocationEditor->setText(location_text); 580 self->mLocationEditor->setText(location_text);
579 self->mLocationChanged = false; 581 self->mLocationChanged = false;
@@ -593,8 +595,7 @@ void LLPanelClassified::processClassifiedInfoReply(LLMessageSystem *msg, void **
593 // If we got data from the database, we know the listing is paid for. 595 // If we got data from the database, we know the listing is paid for.
594 self->mPaidFor = TRUE; 596 self->mPaidFor = TRUE;
595 597
596 self->mUpdateBtn->setLabelSelected("Update"); 598 self->mUpdateBtn->setLabel(self->childGetText("update_txt"));
597 self->mUpdateBtn->setLabelUnselected("Update");
598 } 599 }
599} 600}
600 601