VirLinden avatar VirLinden committed 62f0760

more merge from viewer-development

Comments (0)

Files changed (2)

indra/newview/llavataractions.cpp

 		params["open_tab_name"] = "panel_profile";
 
 		// PROFILES: open in webkit window
-		std::string first_name,last_name;
-		if (gCacheName->getName(id,first_name,last_name))
+		std::string full_name;
+		if (gCacheName->getFullName(id,full_name))
 		{
-			std::string agent_name = first_name + "." + last_name;
+			std::string agent_name = LLCacheName::buildUsername(full_name);
 			llinfos << "opening web profile for " << agent_name << llendl;		
 			std::string url = getProfileURL(agent_name);
 			LLWeb::loadURLInternal(url);

indra/newview/llfloaterpreference.cpp

 	LLTabContainer* tabcontainer = getChild<LLTabContainer>("pref core");
 	if (!tabcontainer->selectTab(gSavedSettings.getS32("LastPrefTab")))
 		tabcontainer->selectFirstTab();
-<<<<<<< local
-	
-=======
 
 	updateDoubleClickControls();
 
->>>>>>> other
 	getChild<LLUICtrl>("cache_location")->setEnabled(FALSE); // make it read-only but selectable (STORM-227)
 	std::string cache_location = gDirUtilp->getExpandedFilename(LL_PATH_CACHE, "");
 	setCacheLocation(cache_location);
-<<<<<<< local
-	
-=======
 
 	getChild<LLComboBox>("language_combobox")->setCommitCallback(boost::bind(&LLFloaterPreference::onLanguageChange, this));
 
->>>>>>> other
 	// if floater is opened before login set default localized busy message
 	if (LLStartUp::getStartupState() < STATE_STARTED)
 	{
 			gAgent.sendAgentUpdateUserInfo(new_im_via_email,mDirectoryVisibility);
 		}
 	}
-<<<<<<< local
 	
 	saveAvatarProperties();
-=======
 
 	if (mDoubleClickActionDirty)
 	{
 		updateDoubleClickSettings();
 		mDoubleClickActionDirty = false;
 	}
->>>>>>> other
 }
 
 void LLFloaterPreference::cancel()
 		getChild<LLUICtrl>("maturity_desired_textbox")->setValue(maturity_combo->getSelectedItemLabel());
 		getChildView("maturity_desired_combobox")->setVisible( false);
 	}
-<<<<<<< local
-	
-=======
 
 	// Forget previous language changes.
 	mLanguageChanged = false;
 
->>>>>>> other
 	// Display selected maturity icons.
 	onChangeMaturity();
 	
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.