photosgallery/controllers/fetcher/src/glxfetchercontainer.cpp
branchRCL_3
changeset 47 f9e827349359
parent 30 a60acebbbd9d
child 57 ea65f74e6de4
equal deleted inserted replaced
35:420f6808bf21 47:f9e827349359
   243         CleanupStack::Pop(bitmap);
   243         CleanupStack::Pop(bitmap);
   244         }
   244         }
   245 
   245 
   246 	// Set the grid to use different layout for landscape mode in fetcher
   246 	// Set the grid to use different layout for landscape mode in fetcher
   247     iHgGrid->SetToolbarVisibility(EFalse);
   247     iHgGrid->SetToolbarVisibility(EFalse);
   248     iHgGrid->SetSelectedIndex(iMediaList->FocusIndex());
       
   249     // Setting to MopParent to update background skin
   248     // Setting to MopParent to update background skin
   250     iHgGrid->SetMopParent(this);
   249     iHgGrid->SetMopParent(this);
   251     // Setting Selction observer for getting callback on key event change
   250     // Setting Selction observer for getting callback on key event change
   252     iHgGrid->SetSelectionObserver(*this);
   251     iHgGrid->SetSelectionObserver(*this);
   253     // This Displays the scrollbar at the opening of the Grid view
   252     // This Displays the scrollbar at the opening of the Grid view
   460 // HandleOpen
   459 // HandleOpen
   461 // ---------------------------------------------------------------------------
   460 // ---------------------------------------------------------------------------
   462 //  
   461 //  
   463 void CGlxFetcherContainer::HandleOpenL( TInt aIndex )
   462 void CGlxFetcherContainer::HandleOpenL( TInt aIndex )
   464     {
   463     {
   465     TRACER("CGlxGridViewImp::HandleOpen()");
   464     TRACER("CGlxFetcherContainer::HandleOpenL()");
       
   465     GLX_LOG_INFO1("CGlxFetcherContainer::HandleOpenL(%d)", aIndex);
       
   466     
   466     // Make sure that the Selection Index is inside medialist count
   467     // Make sure that the Selection Index is inside medialist count
   467     if (aIndex <iMediaList->Count() && aIndex >=0)
   468     if (aIndex <iMediaList->Count() && aIndex >=0)
   468         {
   469         {
   469         //ignore multiple tap events for single selection cases
   470         //ignore multiple tap events for single selection cases
   470         //if file has already been selected
   471         //if file has already been selected