equal
deleted
inserted
replaced
227 iCommandHandlerList[i]->PreDynInitMenuPaneL( aResourceId ); |
227 iCommandHandlerList[i]->PreDynInitMenuPaneL( aResourceId ); |
228 } |
228 } |
229 |
229 |
230 // Allow implementing view to filter menu first |
230 // Allow implementing view to filter menu first |
231 ViewDynInitMenuPaneL(aResourceId, aMenuPane); |
231 ViewDynInitMenuPaneL(aResourceId, aMenuPane); |
232 |
232 |
|
233 //Since the toolbar is set only incase of grid view we can assume that |
|
234 //it is in browse mode. |
|
235 TBool isBrowseMode = EFalse; |
|
236 if(iUiUtility->GetGridToolBar()) |
|
237 { |
|
238 isBrowseMode = ETrue; |
|
239 } |
233 for (TInt i = 0; i < count; i++ ) |
240 for (TInt i = 0; i < count; i++ ) |
234 { |
241 { |
235 iCommandHandlerList[i]->DynInitMenuPaneL( aResourceId, aMenuPane ); |
242 iCommandHandlerList[i]->DynInitMenuPaneL( aResourceId, aMenuPane, isBrowseMode ); |
236 } |
243 } |
237 } |
244 } |
238 |
245 |
239 |
246 |
240 // ----------------------------------------------------------------------------- |
247 // ----------------------------------------------------------------------------- |