browserui/browser/FavouritesSrc/BrowserBookmarksView.cpp
branchRCL_3
changeset 34 5dedbccec665
parent 33 dbd79466b1ed
child 35 5c11946e75b3
--- a/browserui/browser/FavouritesSrc/BrowserBookmarksView.cpp	Fri Mar 12 15:43:05 2010 +0200
+++ b/browserui/browser/FavouritesSrc/BrowserBookmarksView.cpp	Mon Mar 15 12:40:52 2010 +0200
@@ -492,7 +492,6 @@
         case EWmlCmdGoToAddress: // MSK for Recent Url page
         case EWmlCmdSwitchToGotoActive:
             {
-            iSoftKeyUpdate = EFalse;
             DimToolbarButtons(ETrue);
 #ifdef BRDO_SINGLE_CLICK_ENABLED_FF            
             CEikButtonGroupContainer* cba = Cba()->Current();
@@ -509,6 +508,14 @@
         case EIsCmdSearchWeb:
         	{
         	DimToolbarButtons(ETrue);
+#ifdef BRDO_SINGLE_CLICK_ENABLED_FF 
+            CEikButtonGroupContainer* cba = Cba()->Current();
+            CEikCba* eikCba = static_cast<CEikCba*>( cba->ButtonGroup() );
+            if( eikCba )
+                {
+                eikCba->EnableItemSpecificSoftkey( EFalse );
+                }
+#endif
         	TheContainer()->SetSearchActiveL();
         	break;
         	}
@@ -829,7 +836,7 @@
     CBrowserBookmarksContainer* theContainer = TheContainer();
 
     // if the container doesn't exist, leave gotoPanePtr at NULL
-    if (theContainer && !iSoftKeyUpdate)
+    if (theContainer)
         {
         gotoPanePtr = theContainer->GotoPane();
         }
@@ -2075,11 +2082,6 @@
         {
         iInAdaptiveBookmarksFolder = ETrue;
         }
-
-    if( iPreviousViewID == KUidBrowserBookmarksViewId )
-       {
-       iSoftKeyUpdate = ETrue;
-       }
     CBrowserFavouritesView::DoActivateL
                             ( aPrevViewId, aCustomMessageId, aCustomMessage );
     ApiProvider().BrCtlInterface().AddLoadEventObserverL( this );
@@ -2128,7 +2130,6 @@
         {
         ExitAdaptiveBookmarks();
         }
-    iSoftKeyUpdate = EFalse;
     if ( !ApiProvider().ExitInProgress() )
         {
         ApiProvider().BrCtlInterface().RemoveLoadEventObserver( this );