Merge remote-tracking branch 'shyotl/V2Renderer' into V2Renderer

This commit is contained in:
Aleric Inglewood
2011-05-24 18:10:21 +02:00
359 changed files with 12680 additions and 3168 deletions

View File

@@ -3752,29 +3752,6 @@ void handle_fake_away_status(void*)
}
}
void handle_hide_typing_notification(void*)
{
if (!gSavedSettings.controlExists("HideTypingNotification"))
gSavedSettings.declareBOOL("HideTypingNotification", FALSE, "Hide your 'Name is typing...' message when Instant Messaging.");
BOOL hide = gSavedSettings.getBOOL("HideTypingNotification");
if (hide)
{
gSavedSettings.declareBOOL("HideTypingNotification", FALSE, "Hide your 'Name is typing...' message when Instant Messaging.");
gSavedSettings.setBOOL("HideTypingNotification", FALSE);
}
else
{
gSavedSettings.declareBOOL("HideTypingNotification", TRUE, "Hide your 'Name is typing...' message when Instant Messaging.");
gSavedSettings.setBOOL("HideTypingNotification", TRUE);
}
LLChat chat;
chat.mSourceType = CHAT_SOURCE_SYSTEM;
chat.mText = llformat("IM Typing Notifications: %s",(hide ? "On" : "Off"));
LLFloaterChat::addChat(chat);
}
void handle_force_ground_sit(void*)
{
if (gAgent.getAvatarObject())