From 9b984d425dc3f5f1438d10c23c46ae0136282a31 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Sat, 14 Sep 2013 20:51:03 -0400 Subject: [PATCH] Feature Request: Add an option to show the grid name in title LiruGridInTitle is the debug --- indra/newview/app_settings/settings.xml | 13 +++++++++++++ indra/newview/llstartup.cpp | 1 + 2 files changed, 14 insertions(+) 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);