messagingappbase/mcesettings/mcesettingsgsplugin/src/MceSettingsGSPluginContainer.cpp
--- a/messagingappbase/mcesettings/mcesettingsgsplugin/src/MceSettingsGSPluginContainer.cpp Thu Jul 15 18:34:37 2010 +0300
+++ b/messagingappbase/mcesettings/mcesettingsgsplugin/src/MceSettingsGSPluginContainer.cpp Thu Aug 19 09:51:11 2010 +0300
@@ -190,13 +190,15 @@
TUid uid;
uid.iUid = KMceSettingsCBSUid;
+ if(iCbs)
+ {
+ HBufC* text = StringLoader::LoadL( R_MCEUI_CBS_SETTINGS_TEXT, iEikonEnv );
+ TUidNameInfo cbsSettings( uid, *text );
+ delete text;
+ iMsgTypesSettings->AppendL( cbsSettings );
+ }
- HBufC* text = StringLoader::LoadL( R_MCEUI_CBS_SETTINGS_TEXT, iEikonEnv );
- TUidNameInfo cbsSettings( uid, *text );
- delete text;
- iMsgTypesSettings->AppendL( cbsSettings );
-
- text = StringLoader::LoadL( R_MCEUI_GENERAL_SETTINGS_TEXT, iEikonEnv );
+ HBufC* text = StringLoader::LoadL( R_MCEUI_GENERAL_SETTINGS_TEXT, iEikonEnv );
TUidNameInfo generalSettings( uid, *text );
delete text;
iMsgTypesSettings->AppendL( generalSettings );