ui/viewmanagement/viewmanager/src/glxviewmanager.cpp
changeset 50 a0f57508af73
parent 45 863223ea6961
child 52 a3a4c0de738e
--- a/ui/viewmanagement/viewmanager/src/glxviewmanager.cpp	Fri Jun 25 15:41:33 2010 +0530
+++ b/ui/viewmanagement/viewmanager/src/glxviewmanager.cpp	Sat Jul 10 00:59:39 2010 +0530
@@ -129,8 +129,8 @@
 {
     qDebug("GlxViewManager::addBackSoftKeyAction ");
     //create the back soft key action and set the data
-    mBackAction = new HbAction(Hb::BackNaviAction, this);
-    mBackAction->setData(EGlxCmdBack);
+    mBackAction = new HbAction( Hb::BackNaviAction, this );
+    mBackAction->setData( EGlxCmdBack );
     mBackAction->setObjectName( "App Back" );
     mView->setNavigationAction( mBackAction );
 }
@@ -179,7 +179,7 @@
     
     mView = resolveView(id);
     //partially initialise the view so that animation run smoothly
-    mView->initializeView( model);
+    mView->initializeView( model, curr_view );
     mModel = model; 
 
     if ( viewEffect == CURRENT_VIEW || viewEffect == BOTH_VIEW ) { 
@@ -289,7 +289,7 @@
         mProgressDialog->setIcon(icon);
         
         if ( currentValue < 0 ) {
-            mProgressDialog->setText( QString( "Refreshing" ) ); //To:Do string will change later
+            mProgressDialog->setText( QString( GLX_REFRESHING ) ); //To:Do string will change later
             mProgressDialog->setProgressValue( 0 );
         }
         else {
@@ -343,7 +343,6 @@
         if( mMarkingActionList.at(i)->data()==EGlxCmdSelect) {
        	    bool noSelection=selectedModelIndex.empty();
             mMarkingActionList.at(i)->setDisabled(noSelection);
-            mMenuManager->disableAction(mView->menu(),noSelection);
             break;
         }
     }