Commit 8fb81cfd authored by NiranV's avatar NiranV
Browse files

Added: Option to toggle taskbar icon flashing when receiving IMs.

parent 8cd8d68e
......@@ -3,6 +3,17 @@
xsi:noNamespaceSchemaLocation="llsd.xsd">
<map>
<!-- Black Dragon Debugs -->
<key>FlashTaskbarOnIM</key>
<map>
<key>Comment</key>
<string>Allow the taskbar icon of Black Dragon to flash for a couple seconds when receiving new messages.</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>1</integer>
</map>
<key>SnapshotLocalCrop</key>
<map>
<key>Comment</key>
......
......@@ -1617,7 +1617,8 @@ void LLIMProcessing::processNewMessage(LLUUID from_id,
}
LLWindow* viewer_window = gViewerWindow->getWindow();
if (viewer_window && viewer_window->getMinimized())
if (viewer_window && viewer_window->getMinimized()
&& gSavedSettings.getBOOL("FlashTaskbarOnIM"))
{
viewer_window->flashIcon(5.f);
}
......
......@@ -23,7 +23,7 @@ width="510">
<panel
layout="topleft"
follows="left|top|right"
height="1088"
height="1108"
name="chat_scroll_panel"
top="0"
mouse_opaque="false"
......@@ -685,6 +685,16 @@ width="510">
Chat Behavior Options:
</text>
<check_box
height="16"
label="Flash taskbar icon when receiving IM's"
layout="topleft"
left_delta="0"
name="send_im_to_email"
tool_tip="This option toggles whether the Black Dragon icon in your taskbar should flash (and show the taskbar if it is set to autohide) whenever you receive a new IM."
top_pad="15"
width="400" />
<text
type="string"
length="1"
......@@ -693,7 +703,7 @@ width="510">
layout="topleft"
left="10"
name="friend_ims"
top_pad="15"
top_pad="4"
width="160">
Friend IM Behavior:
</text>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment