idlefw/plugins/mcsplugin/settings/src/mcspluginsettingscontainer.cpp
branchRCL_3
changeset 9 d0529222e3f0
parent 3 ff572005ac23
child 18 bd874ee5e5e2
equal deleted inserted replaced
4:1a2a00e78665 9:d0529222e3f0
    86     TInt err = iNotifier.Open( iMenu ); 
    86     TInt err = iNotifier.Open( iMenu ); 
    87     if ( err == KErrNone )
    87     if ( err == KErrNone )
    88         {
    88         {
    89         iNotifyWatcher = CMCSPluginWatcher::NewL( CMCSPluginWatcher::ENotify );
    89         iNotifyWatcher = CMCSPluginWatcher::NewL( CMCSPluginWatcher::ENotify );
    90         iNotifier.Notify( 0,
    90         iNotifier.Notify( 0,
    91             RMenuNotifier::EItemsAddedRemoved | RMenuNotifier::EItemsReordered,
    91             RMenuNotifier::EItemsAddedRemoved | 
       
    92             RMenuNotifier::EItemsReordered |
       
    93             RMenuNotifier::EItemAttributeChanged,
    92         iNotifyWatcher->iStatus );
    94         iNotifyWatcher->iStatus );
    93         iNotifyWatcher->WatchNotify( this );
    95         iNotifyWatcher->WatchNotify( this );
    94         }
    96         }
    95     }
    97     }
    96 
    98 
   494     iModel->UpdateAppListL();
   496     iModel->UpdateAppListL();
   495     
   497     
   496     // Notification must be activated again
   498     // Notification must be activated again
   497     iNotifyWatcher->Cancel();
   499     iNotifyWatcher->Cancel();
   498     iNotifier.Notify( 0,
   500     iNotifier.Notify( 0,
   499         RMenuNotifier::EItemsAddedRemoved | RMenuNotifier::EItemsReordered,
   501         RMenuNotifier::EItemsAddedRemoved | 
       
   502         RMenuNotifier::EItemsReordered |
       
   503         RMenuNotifier::EItemAttributeChanged,
   500         iNotifyWatcher->iStatus );
   504         iNotifyWatcher->iStatus );
   501     iNotifyWatcher->WatchNotify( this );
   505     iNotifyWatcher->WatchNotify( this );
   502     }
   506     }
   503 
   507 
   504 // End of File.
   508 // End of File.