--- a/photosgallery/viewframework/views/listview/src/glxlistviewimp.cpp Thu Jul 15 18:39:01 2010 +0300
+++ b/photosgallery/viewframework/views/listview/src/glxlistviewimp.cpp Thu Aug 19 09:55:03 2010 +0300
@@ -182,22 +182,6 @@
{
TRACER("CGlxListViewImp::DoMLViewActivateL");
- TUint transitionID = (iUiUtility->ViewNavigationDirection()==
- EGlxNavigationForwards)?KActivateTransitionId:KDeActivateTransitionId;
-
- //Do the activate animation only for views other than mainlist view and
- //on backward navigation from any other views to main list view, since
- //for the app start the animation effect is by default provided.
- if (iMediaList->IdSpaceId(0) != KGlxIdSpaceIdRoot ||
- transitionID == KDeActivateTransitionId)
- {
- GfxTransEffect::BeginFullScreen( transitionID, TRect(),
- AknTransEffect::EParameterType,
- AknTransEffect::GfxTransParam( KPhotosUid,
- AknTransEffect::TParameter::EEnableEffects) );
- GfxTransEffect::EndFullScreen();
- }
-
iNextViewActivationEnabled = ETrue;
if(StatusPane())
{
@@ -306,6 +290,23 @@
CreateListL();
iProgressIndicator = CGlxProgressIndicator::NewL(*this);
iMMCNotifier = CGlxMMCNotifier::NewL(*this);
+
+ TUint transitionID = (iUiUtility->ViewNavigationDirection()==
+ EGlxNavigationForwards)?KActivateTransitionId:KDeActivateTransitionId;
+
+ //Do the activate animation only for views other than mainlist view and
+ //on backward navigation from any other views to main list view, since
+ //for the app start the animation effect is by default provided.
+ if (iMediaList->IdSpaceId(0) != KGlxIdSpaceIdRoot ||
+ transitionID == KDeActivateTransitionId)
+ {
+ GfxTransEffect::BeginFullScreen( transitionID, TRect(),
+ AknTransEffect::EParameterType,
+ AknTransEffect::GfxTransParam( KPhotosUid,
+ AknTransEffect::TParameter::EEnableEffects) );
+ iIsTransEffectStarted = ETrue;
+ }
+
}
// ---------------------------------------------------------------------------