diff -r 42814f902fe6 -r 38571fd2a704 calendarui/settings/settingsui/src/calensettingsuicontainer.cpp --- a/calendarui/settings/settingsui/src/calensettingsuicontainer.cpp Fri Feb 19 22:49:53 2010 +0200 +++ b/calendarui/settings/settingsui/src/calensettingsuicontainer.cpp Fri Mar 12 15:42:35 2010 +0200 @@ -659,9 +659,6 @@ // Construct setting item with parametrized values HBufC* itemTitle = StringLoader::LoadLC( R_CALEN_SETTING_DEFAULTMAILBOX_TITLE ); // The resources loaded up here are empty as the items need to be dynamically updated. - - settingItem->SetEmptyItemTextL( KNullDesC ); - settingItem->ConstructL( EFalse, aOrdinal, *itemTitle, NULL, R_CALEN_SETTING_DEFAULTMAILBOX, EAknCtPopupSettingList, NULL, R_CALEN_EMPTY_POPUP_SETTING_TEXTS ); @@ -791,7 +788,7 @@ // Always add this in. We will set it hidden when it's not needed (i.e. when the // week start is set to anything other than "Monday") at the bottom of this function. - AddEnumerationItemL( iWeekTitle, + AddBinaryItemL( iWeekTitle, ECalenWeekTitleItemId, R_CALEN_SETTING_WEEKTITLE_TITLE, R_CALEN_SETTING_WEEKTITLE,