equal
deleted
inserted
replaced
65 ResetArrayOfWidgetInfo( iRunningWidgets ); |
65 ResetArrayOfWidgetInfo( iRunningWidgets ); |
66 iRunningWidgets.Reset(); |
66 iRunningWidgets.Reset(); |
67 User::LeaveIfError( iWidgetRegistryClientSession.Connect() ); |
67 User::LeaveIfError( iWidgetRegistryClientSession.Connect() ); |
68 CleanupStack::PushL( TCleanupItem( CleanupConnect, this) ); |
68 CleanupStack::PushL( TCleanupItem( CleanupConnect, this) ); |
69 iWidgetRegistryClientSession.RunningWidgetsL(iRunningWidgets); |
69 iWidgetRegistryClientSession.RunningWidgetsL(iRunningWidgets); |
|
70 //modify useless file size information with mode flag |
|
71 for ( TInt i(iRunningWidgets.Count() - 1); 0 <= i; --i ) |
|
72 { |
|
73 iRunningWidgets[i]->iFileSize = |
|
74 iWidgetRegistryClientSession.IsWidgetInFullView(iRunningWidgets[i]->iUid); |
|
75 } |
70 CleanupStack::Pop(); // clean WidgetRegistryClientSession item |
76 CleanupStack::Pop(); // clean WidgetRegistryClientSession item |
71 iWidgetRegistryClientSession.Disconnect(); |
77 iWidgetRegistryClientSession.Disconnect(); |
72 } |
78 } |
73 |
79 |
74 // -------------------------------------------------------------------------- |
80 // -------------------------------------------------------------------------- |