Adjustments to IMs -

Got "Announce incoming IMs" working.
Group name can now be shown in the local chat notifications for IMs.
"IM Received" changes to "New IM" for length.

Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
Beeks
2010-09-21 14:53:36 -04:00
parent a820e9adee
commit 72c4c63b95
5 changed files with 52 additions and 17 deletions

View File

@@ -155,7 +155,7 @@ bool updateChatVisible(const LLSD &data)
BOOL LLOverlayBar::postBuild()
{
childSetAction("IM Received",onClickIMReceived,this);
childSetAction("New IM",onClickIMReceived,this);
childSetAction("Set Not Busy",onClickSetNotBusy,this);
childSetAction("Mouselook",onClickMouselook,this);
childSetAction("Stand Up",onClickStandUp,this);
@@ -167,7 +167,7 @@ BOOL LLOverlayBar::postBuild()
setFocusRoot(TRUE);
mBuilt = true;
mOriginalIMLabel = getChild<LLButton>("IM Received")->getLabelSelected();
mOriginalIMLabel = getChild<LLButton>("New IM")->getLabelSelected();
layoutButtons();
@@ -242,7 +242,7 @@ void LLOverlayBar::refresh()
BOOL im_received = gIMMgr->getIMReceived();
int unread_count = gIMMgr->getIMUnreadCount();
LLButton* button = getChild<LLButton>("IM Received");
LLButton* button = getChild<LLButton>("New IM");
if ((button && button->getVisible() != im_received) ||
(button && button->getVisible()))