equal
deleted
inserted
replaced
1198 TPtr tempText = iListBoxText->Des(); |
1198 TPtr tempText = iListBoxText->Des(); |
1199 tempText.Zero(); |
1199 tempText.Zero(); |
1200 TInt bitmapidx = EMceBitmapIndexConversation; |
1200 TInt bitmapidx = EMceBitmapIndexConversation; |
1201 if(iDefaultViewSettings == KMceConversationview ) |
1201 if(iDefaultViewSettings == KMceConversationview ) |
1202 { |
1202 { |
1203 TInt msgCount = 0; |
1203 TInt unreadMessages = 0; |
1204 TInt unreadCount = 0; |
1204 //To check whether unread message presents in inbox |
1205 TRAPD(Errcode,iBitmapResolver.HasUnreadMessagesL(KMsvGlobalInBoxIndexEntryId,msgCount,unreadCount)); |
1205 TRAPD( err, iBitmapResolver.FindVisibleCountWithUnreadMessageL( KMsvGlobalInBoxIndexEntryId, unreadMessages )); |
1206 if( unreadCount > 0 ) |
1206 if ( err == KErrNone && unreadMessages ) |
1207 { |
1207 { |
1208 bitmapidx = EMceBitmapIndexConversationNew ; |
1208 bitmapidx = EMceBitmapIndexConversationNew ; |
1209 } |
1209 } |
1210 } |
1210 } |
1211 tempText.AppendNum(bitmapidx); |
1211 tempText.AppendNum(bitmapidx); |