Preference panel was not correctly referring to AcentHideTypingNotification.
Removed dead code regarding HideTypingNotification.
This commit is contained in:
@@ -3730,29 +3730,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())
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
control_name="AscentInstantMessageAnnounceIncoming" radio_style="false" width="270"
|
||||
name="quickstart_im_check"
|
||||
tool_tip="Opens an IM window when someone starts typing an IM to you. This gives you a heads up that someone is IMing you before they hit enter. "/>
|
||||
<check_box bottom_delta="-20" control_name="HideTypingNotification" enabled="true"
|
||||
<check_box bottom_delta="-20" control_name="AscentHideTypingNotification" enabled="true"
|
||||
follows="left|top" font="SansSerifSmall" height="16" initial_value="false"
|
||||
label="Don't send '[name] is typing...' in IMs" left="10"
|
||||
tool_tip="IM partners will not see '______ is typing...' when you're responding."
|
||||
|
||||
Reference in New Issue
Block a user