diff -r 84d9eb65b26f -r e4592d119491 messagingapp/msgnotifications/msgindicatorplugin/src/msgindicator.cpp --- a/messagingapp/msgnotifications/msgindicatorplugin/src/msgindicator.cpp Mon May 03 12:29:07 2010 +0300 +++ b/messagingapp/msgnotifications/msgindicatorplugin/src/msgindicator.cpp Fri May 14 15:49:35 2010 +0300 @@ -116,7 +116,7 @@ // @see msgindicator.h // ---------------------------------------------------------------------------- MsgIndicator::MsgIndicator(const QString &indicatorType) : - HbIndicatorInterface(indicatorType, HbIndicatorInterface::GroupPriorityHigh, + HbIndicatorInterface(indicatorType, HbIndicatorInterface::NotificationCategory, InteractionActivated), mIndicatorType(NULL) { @@ -165,8 +165,18 @@ } case DecorationNameRole: { - return IndicatorInfo[mIndicatorType].icon; - + return IndicatorInfo[mIndicatorType].icon; + } + case MonoDecorationNameRole: + { + if (NewIndicatorPlugin == mIndicatorType) { + return IndicatorInfo[mIndicatorType].icon; + } + else { + // Don't show status-bar icons for indications other + // than new-message + return QVariant(); + } } default: return QVariant();