equal
deleted
inserted
replaced
88 TUid lastMPluginUidInRepository = { lastMPluginIdInRepository }; |
88 TUid lastMPluginUidInRepository = { lastMPluginIdInRepository }; |
89 prevMboxId.SetPluginId(lastMPluginUidInRepository); |
89 prevMboxId.SetPluginId(lastMPluginUidInRepository); |
90 CFreestyleEmailUiAppUi* appUi = |
90 CFreestyleEmailUiAppUi* appUi = |
91 static_cast<CFreestyleEmailUiAppUi*>( CCoeEnv::Static()->AppUi() ); |
91 static_cast<CFreestyleEmailUiAppUi*>( CCoeEnv::Static()->AppUi() ); |
92 //Write the name commonEmailRepository |
92 //Write the name commonEmailRepository |
93 commonEmailRepository->Set(KCmailNewEmailDisplayText,appUi->GetMailClient()->GetMailBoxByUidL(prevMboxId)->GetName()); |
93 CFSMailBox* prevMbox = appUi->GetMailClient()->GetMailBoxByUidL( prevMboxId ); |
|
94 if ( prevMbox ) |
|
95 { |
|
96 commonEmailRepository->Set( KCmailNewEmailDisplayText, prevMbox->GetName() ); |
|
97 } |
94 } |
98 } |
95 } |
99 } |
96 if(numberOfMailboxes == 0) |
100 if(numberOfMailboxes == 0) |
97 { |
101 { |
98 // Set email indicator off.. user has checked the new emails in all the mailboxes |
102 // Set email indicator off.. user has checked the new emails in all the mailboxes |