--- a/idlehomescreen/sapiwrapper/cpswrapper/src/cpswrapper.cpp Tue May 11 16:02:39 2010 +0300
+++ b/idlehomescreen/sapiwrapper/cpswrapper/src/cpswrapper.cpp Tue May 25 12:29:32 2010 +0300
@@ -386,17 +386,11 @@
//
void CCpsWrapper::StartListeningPublisherRegistryL()
{
- // Start Listening all the HS template using widgets unregistration
- RequestForNotificationL( KAll, KHSTemplate, KAll, KDelete, KPublisher16 );
-
- // Start Listening all the WRT widgets unregistration
- RequestForNotificationL( KAll, KWRTTemplate, KAll, KDelete, KPublisher16 );
-
// Start Listening all the WRT widgets registrations
- RequestForNotificationL( KAll, KWRTTemplate, KAll, KAdd, KPublisher16 );
+ RequestForNotificationL( KAll, KWRTTemplate, KAll, KAddUpdateDelete, KPublisher16 );
// Start Listening all the HS template widgets registrations
- RequestForNotificationL( KAll, KHSTemplate, KAll, KAdd, KPublisher16 );
+ RequestForNotificationL( KAll, KHSTemplate, KAll, KAddUpdateDelete , KPublisher16 );
}
// -----------------------------------------------------------------------
@@ -414,6 +408,10 @@
{
iObserver.NotifyWidgetRegisteredL();
}
+ else if ( aOperation == KUpdate16 )
+ {
+ iObserver.NotifyWidgetUpdatedL();
+ }
}
}