diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 403c612c4..1fc7cdf9e 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -674,6 +674,19 @@ Value 0 + LiruGridInTitle + + Comment + Show grid name in the viewer window title (takes effect upon next login) + Persist + 1 + Type + Boolean + Value + 0 + IsCOA + 1 + LiruGroupNoticeTimes Comment diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index 53f438645..77d6b9e6e 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -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);