Append username to window title upon connecting to grid.

This commit is contained in:
Shyotl
2012-02-22 17:51:06 -06:00
parent c2da7f4570
commit 3d39e443fe
8 changed files with 36 additions and 0 deletions

View File

@@ -3272,6 +3272,15 @@ void LLWindowMacOSX::spawnWebBrowser(const std::string& escaped_url, bool async)
}
}
void LLWindowMacOSX::setTitle(const std::string &title)
{
/*strncpy((char*)mWindowTitle + 1, title.c_str(), 253);
mWindowTitle[0] = title.length();*/
CFStringRef title_str = CFStringCreateWithCString(NULL, title.c_str(), kCFStringEncodingUTF8);
SetWindowTitleWithCFString(mWindow, title_str);
}
LLSD LLWindowMacOSX::getNativeKeyData()
{
LLSD result = LLSD::emptyMap();