diff options
| -rw-r--r-- | indra/newview/app_settings/ignorable_dialogs.xml | 11 | ||||
| -rw-r--r-- | indra/newview/llappviewer.cpp | 1 | ||||
| -rw-r--r-- | indra/newview/llcallfloater.cpp | 4 | ||||
| -rw-r--r-- | indra/newview/llchathistory.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llimview.cpp | 9 | ||||
| -rw-r--r-- | indra/newview/llimview.h | 1 | ||||
| -rw-r--r-- | indra/newview/skins/default/xui/en/menu_viewer.xml | 10 | 
7 files changed, 23 insertions, 15 deletions
| diff --git a/indra/newview/app_settings/ignorable_dialogs.xml b/indra/newview/app_settings/ignorable_dialogs.xml index e825f13e82..d0e1f62a84 100644 --- a/indra/newview/app_settings/ignorable_dialogs.xml +++ b/indra/newview/app_settings/ignorable_dialogs.xml @@ -177,17 +177,6 @@        <key>Value</key>        <integer>1</integer>      </map> -    <key>FirstStreamingMedia</key> -    <map> -      <key>Comment</key> -      <string>Enables FirstStreamingMedia warning dialog</string> -      <key>Persist</key> -      <integer>1</integer> -      <key>Type</key> -      <string>Boolean</string> -      <key>Value</key> -      <integer>1</integer> -    </map>      <key>FirstTeleport</key>      <map>        <key>Comment</key> diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 5349ccabec..9f5c6cc441 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -1933,7 +1933,6 @@ bool LLAppViewer::initConfiguration()  //	LLFirstUse::addConfigVariable("FirstSandbox");  //	LLFirstUse::addConfigVariable("FirstFlexible");  //	LLFirstUse::addConfigVariable("FirstDebugMenus"); -//	LLFirstUse::addConfigVariable("FirstStreamingMedia");  //	LLFirstUse::addConfigVariable("FirstSculptedPrim");  //	LLFirstUse::addConfigVariable("FirstVoice");  //	LLFirstUse::addConfigVariable("FirstMedia"); diff --git a/indra/newview/llcallfloater.cpp b/indra/newview/llcallfloater.cpp index 97a5c3b8e2..0aaaa8e705 100644 --- a/indra/newview/llcallfloater.cpp +++ b/indra/newview/llcallfloater.cpp @@ -303,8 +303,8 @@ void LLCallFloater::updateSession()  	refreshParticipantList();  	updateAgentModeratorState(); -	//show floater for voice calls -	if (!is_local_chat) +	//show floater for voice calls & only in CONNECTED to voice channel state +	if (!is_local_chat && LLVoiceChannel::STATE_CONNECTED == voice_channel->getState())  	{  		LLIMFloater* im_floater = LLIMFloater::findInstance(session_id);  		bool show_me = !(im_floater && im_floater->getVisible()); diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp index 929457046c..c125f84c58 100644 --- a/indra/newview/llchathistory.cpp +++ b/indra/newview/llchathistory.cpp @@ -116,7 +116,7 @@ public:  	//*TODO remake it using mouse enter/leave and static LLHandle<LLIconCtrl> to add/remove as a child  	BOOL handleToolTip(S32 x, S32 y, MASK mask)  	{ -		LLViewerTextEditor* name = getChild<LLViewerTextEditor>("user_name"); +		LLTextBase* name = getChild<LLTextBase>("user_name");  		if (name && name->parentPointInView(x, y) && mAvatarID.notNull() && SYSTEM_FROM != mFrom)  		{ diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index b6032f4dfa..32482a065c 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -1517,6 +1517,15 @@ void LLCallDialog::draw()  	}  } +// virtual +void LLCallDialog::onOpen(const LLSD& key) +{ +	LLDockableFloater::onOpen(key); + +	// it should be over the all floaters. EXT-5116 +	gFloaterView->bringToFront(this); +} +  void LLCallDialog::setIcon(const LLSD& session_id, const LLSD& participant_id)  {  	// *NOTE: 12/28/2009: check avaline calls: LLVoiceClient::isParticipantAvatar returns false for them diff --git a/indra/newview/llimview.h b/indra/newview/llimview.h index 1c7aaa3f1b..21c7626109 100644 --- a/indra/newview/llimview.h +++ b/indra/newview/llimview.h @@ -472,6 +472,7 @@ public:  	// check timer state  	/*virtual*/ void draw(); +	/*virtual*/ void onOpen(const LLSD& key);  protected:  	// lifetime timer for a notification diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml index 22f4d277a4..4e9073bea5 100644 --- a/indra/newview/skins/default/xui/en/menu_viewer.xml +++ b/indra/newview/skins/default/xui/en/menu_viewer.xml @@ -1594,6 +1594,16 @@           name="Shortcuts"           tear_off="true"           visible="false"> +          <menu_item_call +             label="Image (L$[COST])..." +             layout="topleft" +             name="Upload Image" +             shortcut="control|U"> +            <menu_item_call.on_click +               function="File.UploadImage" +               parameter="" /> +            <menu_item_call.on_enable +               function="File.EnableUpload" />              <menu_item_check                 label="Search"                 layout="topleft" | 
