Patch from internal: Keep gWindowTitle consistent with the window title.
This commit is contained in:
@@ -366,7 +366,7 @@ const char *VFS_DATA_FILE_BASE = "data.db2.x.";
|
||||
const char *VFS_INDEX_FILE_BASE = "index.db2.x.";
|
||||
|
||||
static std::string gSecondLife;
|
||||
static std::string gWindowTitle;
|
||||
std::string gWindowTitle;
|
||||
|
||||
std::string gLoginPage;
|
||||
std::vector<std::string> gLoginURIs;
|
||||
|
||||
@@ -257,6 +257,7 @@ LLPointer<LLViewerTexture> gStartTexture;
|
||||
//
|
||||
extern S32 gStartImageWidth;
|
||||
extern S32 gStartImageHeight;
|
||||
extern std::string gWindowTitle;
|
||||
|
||||
//
|
||||
// local globals
|
||||
@@ -1550,7 +1551,7 @@ bool idle_startup()
|
||||
{
|
||||
name += " " + lastname;
|
||||
}
|
||||
gViewerWindow->getWindow()->setTitle(LLAppViewer::instance()->getWindowTitle() + "- " + name);
|
||||
gViewerWindow->getWindow()->setTitle(gWindowTitle += "- " + name);
|
||||
// Pass the user information to the voice chat server interface.
|
||||
LLVoiceClient::getInstance()->userAuthorized(name, gAgentID);
|
||||
// create the default proximal channel
|
||||
|
||||
Reference in New Issue
Block a user