diff options
| author | Leyla Farazha <leyla@lindenlab.com> | 2009-08-17 19:08:56 +0000 | 
|---|---|---|
| committer | Leyla Farazha <leyla@lindenlab.com> | 2009-08-17 19:08:56 +0000 | 
| commit | 733e86c1fc08bc1e8056b4fc1d5fd7a387fcc4c9 (patch) | |
| tree | 8ebe54564e835e97373a8a3f52d0fb3f9d51cb6b | |
| parent | 36e932b4d8590171d8fb3552db89c915684629c9 (diff) | |
EXT-519 Moving the cursor over a modal dialog dings every time
EXT-471 Usernames do'g appear in the communicate window
reviewed by steve
| -rw-r--r-- | indra/newview/lltoastalertpanel.cpp | 8 | ||||
| -rw-r--r-- | indra/newview/llviewermessage.cpp | 1 | 
2 files changed, 6 insertions, 3 deletions
diff --git a/indra/newview/lltoastalertpanel.cpp b/indra/newview/lltoastalertpanel.cpp index 5d67015526..69c384835d 100644 --- a/indra/newview/lltoastalertpanel.cpp +++ b/indra/newview/lltoastalertpanel.cpp @@ -352,12 +352,14 @@ bool LLToastAlertPanel::setCheckBox( const std::string& check_title, const std::  void LLToastAlertPanel::setVisible( BOOL visible )  { -	LLToastPanel::setVisible( visible ); -	 -	if( visible ) +	// only make the "ding" sound if it's newly visible +	if( visible && !LLToastPanel::getVisible() )  	{  		make_ui_sound("UISndAlert");  	} + +	LLToastPanel::setVisible( visible ); +	  }  LLToastAlertPanel::~LLToastAlertPanel() diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 5849a40726..33568bf3cb 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -2451,6 +2451,7 @@ void process_chat_from_simulator(LLMessageSystem *msg, void **user_data)              // adding temporarily so that communications window chat bar               // works until the new chat window is ready +			chat.mText = from_name + ": " + chat.mText;  			LLFloaterChat::addChat(chat, FALSE, FALSE);  		}  		else  | 
