Feature Request: Add an option to show the grid name in title

LiruGridInTitle is the debug
This commit is contained in:
Inusaito Sayori
2013-09-14 20:51:03 -04:00
parent 461f6f6ade
commit 9b984d425d
2 changed files with 14 additions and 0 deletions

View File

@@ -1551,6 +1551,7 @@ bool idle_startup()
{
name += " " + lastname;
}
if (gSavedSettings.getBOOL("LiruGridInTitle")) gWindowTitle += "- " + gHippoGridManager->getCurrentGrid()->getGridName() + " ";
gViewerWindow->getWindow()->setTitle(gWindowTitle += "- " + name);
// Pass the user information to the voice chat server interface.
LLVoiceClient::getInstance()->userAuthorized(name, gAgentID);