From de89552dc968f5b87c305fc661d15a50956a70d6 Mon Sep 17 00:00:00 2001 From: Cho Date: Tue, 11 Feb 2014 00:37:46 +0000 Subject: Added #SecondLife to default Twitter status for ACME-1319 --- indra/newview/llfloatertwitter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/llfloatertwitter.cpp b/indra/newview/llfloatertwitter.cpp index ab5a8e6859..d5039bd933 100644 --- a/indra/newview/llfloatertwitter.cpp +++ b/indra/newview/llfloatertwitter.cpp @@ -56,6 +56,7 @@ static LLRegisterPanelClassWrapper t_panel_account("lltwi const S32 MAX_POSTCARD_DATASIZE = 1024 * 1024; // one megabyte const std::string DEFAULT_PHOTO_LOCATION_URL = "http://maps.secondlife.com/"; const std::string DEFAULT_PHOTO_QUERY_PARAMETERS = "?sourceid=slshare_photo&utm_source=twitter&utm_medium=photo&utm_campaign=slshare"; +const std::string DEFAULT_STATUS_TEXT = " #SecondLife"; /////////////////////////// //LLTwitterPhotoPanel/////// @@ -100,6 +101,7 @@ BOOL LLTwitterPhotoPanel::postBuild() mThumbnailPlaceholder = getChild("thumbnail_placeholder"); mStatusCounterLabel = getChild("status_counter_label"); mStatusTextBox = getChild("photo_status"); + mStatusTextBox->setValue(DEFAULT_STATUS_TEXT); mLocationCheckbox = getChild("add_location_cb"); mLocationCheckbox->setCommitCallback(boost::bind(&LLTwitterPhotoPanel::onAddLocationToggled, this)); mPhotoCheckbox = getChild("add_photo_cb"); @@ -351,7 +353,7 @@ void LLTwitterPhotoPanel::sendPhoto() void LLTwitterPhotoPanel::clearAndClose() { - mStatusTextBox->setValue(""); + mStatusTextBox->setValue(DEFAULT_STATUS_TEXT); LLFloater* floater = getParentByType(); if (floater) -- cgit v1.2.3