--- a/sipplugins/sippsipsettingsui/src/sipsettlistsipprofsetitemlist.cpp Fri Mar 12 15:44:11 2010 +0200
+++ b/sipplugins/sippsipsettingsui/src/sipsettlistsipprofsetitemlist.cpp Mon Mar 15 12:42:05 2010 +0200
@@ -266,7 +266,8 @@
}
else if ( currentIndex == EGSItemServiceProfile ||
currentIndex == EGSItemCompression ||
- currentIndex == EGSItemSecurity )
+ currentIndex == EGSItemSecurity ||
+ currentIndex == EGSItemRegistration )
{
SetNextSettingItemL( currentIndex );
aListBox->ActivateL();
@@ -535,6 +536,21 @@
iSecurity->LoadL();
iSecurity->UpdateListBoxTextL();
break;
+
+ case EGSItemRegistration:
+ iRegistration->StoreL();
+ if ( iProfileData.iRegistrationMode == EGSWhenNeeded )
+ {
+ iProfileData.iRegistrationMode = EGSAlwaysOn;
+ }
+ else
+ {
+ iProfileData.iRegistrationMode = EGSWhenNeeded;
+ }
+ iRegistration->LoadL();
+ iRegistration->UpdateListBoxTextL();
+ break;
+
default: // Other setting items are not supported.
User::Leave( KErrNotSupported );
break;