webengine/wrtharvester/src/wrtharvesterpsnotifier.cpp
changeset 42 d39add9822e2
parent 37 cb62a4f66ebe
child 59 1f3c3f2f5b0a
child 65 5bfc169077b2
equal deleted inserted replaced
38:6297cdf66332 42:d39add9822e2
   152             {            
   152             {            
   153             iHarvester->SetReinstallWidget(ETrue);
   153             iHarvester->SetReinstallWidget(ETrue);
   154             }        
   154             }        
   155         else if( iKey == EWidgetRegAltered && value == 1 )
   155         else if( iKey == EWidgetRegAltered && value == 1 )
   156             {
   156             {
   157             if(!iHarvester->CanAccessRegistry())
   157             if(iHarvester->IsInMSMode())
   158                 {                
   158                 {
   159                 iHarvester->SetMSMode(0);
   159                 iHarvester->SetRegistryAccess(EFalse);
   160                 iHarvester->SetRegistryAccess(ETrue);
       
   161                 }
   160                 }
   162              iHarvester->UpdateL();
   161             else
       
   162             	{
       
   163             	iHarvester->SetRegistryAccess(ETrue);
       
   164                 } 	
       
   165             iHarvester->UpdateL();
   163             }
   166             }
   164         }
   167         }
   165     }
   168     }
   166 
   169 
   167 // ---------------------------------------------------------------------------
   170 // ---------------------------------------------------------------------------