diff options
| author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-16 13:50:12 +0000 | 
|---|---|---|
| committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-16 13:50:12 +0000 | 
| commit | 50a77cd2d37068c384aa27ee42074744934fb92d (patch) | |
| tree | a032e518cc2ae28b7535ccd268304dc67ec51dce | |
| parent | e033f24531bf3e0b3d51e531f64b64405a88956e (diff) | |
| parent | 2582f759b8d73fe197e294c3a1d6cdd48e666d84 (diff) | |
merge.
| -rw-r--r-- | indra/newview/llfloaterpreference.cpp | 3 | ||||
| -rw-r--r-- | indra/newview/llfloatertools.cpp | 7 | ||||
| -rw-r--r-- | indra/newview/llpanelmediasettingsgeneral.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/lltoastimpanel.cpp | 6 | 
4 files changed, 12 insertions, 6 deletions
| diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp index 43111d76f7..f20ef76bed 100644 --- a/indra/newview/llfloaterpreference.cpp +++ b/indra/newview/llfloaterpreference.cpp @@ -666,7 +666,8 @@ void LLFloaterPreference::refreshEnabledGraphics()  	LLFloaterPreference* instance = LLFloaterReg::findTypedInstance<LLFloaterPreference>("preferences");  	if(instance)  	{ -		instance->refreshEnabledState(); +		instance->refresh(); +		//instance->refreshEnabledState();  	}  	LLFloaterHardwareSettings* hardware_settings = LLFloaterReg::getTypedInstance<LLFloaterHardwareSettings>("prefs_hardware_settings");  	if (hardware_settings) diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp index e2b083a29b..f9bd5ada15 100644 --- a/indra/newview/llfloatertools.cpp +++ b/indra/newview/llfloatertools.cpp @@ -1523,7 +1523,9 @@ void LLFloaterTools::updateMediaSettings()      mMediaSettings[ base_key + std::string( LLPanelContents::TENTATIVE_SUFFIX ) ] = ! identical;      // Auto play -    value_bool = default_media_data.getAutoPlay(); +    //value_bool = default_media_data.getAutoPlay(); +	// set default to auto play TRUE -- angela  EXT-5172 +	value_bool = true;      struct functor_getter_auto_play : public LLSelectedTEGetFunctor< bool >      {  		functor_getter_auto_play(const LLMediaEntry& entry)	: mMediaEntry(entry) {}	 @@ -1534,7 +1536,8 @@ void LLFloaterTools::updateMediaSettings()                  if ( object->getTE(face) )                      if ( object->getTE(face)->getMediaData() )                          return object->getTE(face)->getMediaData()->getAutoPlay(); -            return mMediaEntry.getAutoPlay(); +            //return mMediaEntry.getAutoPlay(); set default to auto play TRUE -- angela  EXT-5172 +			return true;          };  		const LLMediaEntry &mMediaEntry; diff --git a/indra/newview/llpanelmediasettingsgeneral.cpp b/indra/newview/llpanelmediasettingsgeneral.cpp index 64a265219b..f601a8d51c 100644 --- a/indra/newview/llpanelmediasettingsgeneral.cpp +++ b/indra/newview/llpanelmediasettingsgeneral.cpp @@ -206,7 +206,7 @@ void LLPanelMediaSettingsGeneral::clearValues( void* userdata, bool editable)  {	  	LLPanelMediaSettingsGeneral *self =(LLPanelMediaSettingsGeneral *)userdata;  	self->mAutoLoop->clear(); -	self->mAutoPlay->setValue(LLSD(TRUE)); // set default value for auto play to true; +	self->mAutoPlay->clear();  	self->mAutoScale->clear();  	self->mAutoZoom ->clear();  	self->mCurrentURL->clear(); diff --git a/indra/newview/lltoastimpanel.cpp b/indra/newview/lltoastimpanel.cpp index cb43beb819..26d3bd5192 100644 --- a/indra/newview/lltoastimpanel.cpp +++ b/indra/newview/lltoastimpanel.cpp @@ -66,12 +66,13 @@ LLToastIMPanel::LLToastIMPanel(LLToastIMPanel::Params &p) :	LLToastPanel(p.notif  	std::string font_size = LLFontGL::sizeFromFont(fontp);  	style_params.font.name(font_name);  	style_params.font.size(font_size); -	style_params.font.style = "UNDERLINE"; +	  	//Handle IRC styled /me messages.  	std::string prefix = p.message.substr(0, 4);  	if (prefix == "/me " || prefix == "/me'")  	{ +		//style_params.font.style = "UNDERLINE";  		mMessage->clear();  		style_params.font.style ="ITALIC"; @@ -82,7 +83,8 @@ LLToastIMPanel::LLToastIMPanel(LLToastIMPanel::Params &p) :	LLToastPanel(p.notif  	}  	else  	{ -		mMessage->setValue(p.message); +		style_params.font.style =  "NORMAL"; +		mMessage->setText(p.message, style_params);  	}  	mAvatarName->setValue(p.from); | 
