--- a/src/screensavershareddatai.cpp Thu Jul 15 18:39:54 2010 +0300
+++ b/src/screensavershareddatai.cpp Thu Aug 19 09:55:47 2010 +0300
@@ -683,6 +683,8 @@
DefineScreensaverProperties( KScreenSaverNoPowerSaveMode, KSSPolicyPass );
DefineScreensaverProperties( KScreenSaverActivate, KSSPolicyWriteUserData );
+
+ iDisplayChange = EFalse;
}
// -----------------------------------------------------------------------------
@@ -841,6 +843,8 @@
{
CScreensaverSharedDataI* self = STATIC_CAST(CScreensaverSharedDataI*, aPtr);
+ self->SetDisplayObjChanged( ETrue );
+
self->AppUi()->ScreensaverView()->SetDisplayObject( self->DisplayObjectType() );
return KErrNone;
@@ -937,6 +941,22 @@
iActiveProfile = NULL;
}
}
+// -----------------------------------------------------------------------------
+// CScreensaverSharedDataI::SetDisplayObjChanged
+// -----------------------------------------------------------------------------
+//
+void CScreensaverSharedDataI::SetDisplayObjChanged( TBool aChanged )
+ {
+ iDisplayChange = aChanged;
+ }
+// -----------------------------------------------------------------------------
+// CScreensaverSharedDataI::GetDisplayObjChanged
+// -----------------------------------------------------------------------------
+//
+TBool CScreensaverSharedDataI::GetDisplayObjChanged()const
+ {
+ return iDisplayChange;
+ }
// -----------------------------------------------------------------------------
// CScreensaverSharedDataI::AppUi