--- a/messagingapp/msgnotifications/msgindicatorplugin/src/msgindicator.cpp Thu Jun 17 09:57:06 2010 +0100
+++ b/messagingapp/msgnotifications/msgindicatorplugin/src/msgindicator.cpp Thu Jul 22 16:32:06 2010 +0100
@@ -41,7 +41,8 @@
#define LOC_FAILED_MULTIPLE_MESSAGES hbTrId("Failed Messages")
#define LOC_OUTGOING_SINGLE_MESSAGE hbTrId("Outgoing Message")
#define LOC_OUTGOING_MULTIPLE_MESSAGES hbTrId("Outgoing Messages")
-
+#define STATUS_MONO_NEW_MESSAGE QString("qtg_status_new_message")
+#define LOC_BUSINESSCARD hbTrId("Business card")
/**
* The number of indicators.
*/
@@ -170,7 +171,7 @@
case MonoDecorationNameRole:
{
if (NewIndicatorPlugin == mIndicatorType) {
- return IndicatorInfo[mIndicatorType].icon;
+ return STATUS_MONO_NEW_MESSAGE;
}
else {
// Don't show status-bar icons for indications other
@@ -319,6 +320,9 @@
QFileInfo fname(secondaryText);
secondaryText = fname.fileName();
}
+ else if(ECsBioMsg_VCard == info.mMessageType) {
+ secondaryText = LOC_BUSINESSCARD;
+ }
}
else {
info.mConversationId = -100;