From 0461da290d64c30f00dd789a5545d2fcd366fcbd Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Sun, 15 May 2011 18:00:07 -0700 Subject: Added URL parsing to group notice history messages --- linden/indra/newview/llpanelgroupnotices.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/linden/indra/newview/llpanelgroupnotices.cpp b/linden/indra/newview/llpanelgroupnotices.cpp index 3d5cd3e..8135306 100644 --- a/linden/indra/newview/llpanelgroupnotices.cpp +++ b/linden/indra/newview/llpanelgroupnotices.cpp @@ -52,6 +52,7 @@ #include "lltextbox.h" #include "roles_constants.h" +#include "llviewercontrol.h" #include "llviewerwindow.h" #include "llviewermessage.h" #include "llnotifications.h" @@ -533,7 +534,12 @@ void LLPanelGroupNotices::showNotice(const std::string& subject, arrangeNoticeView(VIEW_PAST_NOTICE); if(mViewSubject) mViewSubject->setText(subject); - if(mViewMessage) mViewMessage->setText(message); + if(mViewMessage) + { + mViewMessage->clear(); + mViewMessage->setParseHTML(TRUE); + mViewMessage->appendColoredText(message, false, false, gColors.getColor("TextFgReadOnlyColor")); + } if (mInventoryOffer) { -- cgit v1.1