application/src/PodcastSearchView.cpp
changeset 14 4e75731546eb
parent 13 f58e3c482bd9
child 15 93d9f66bf50b
equal deleted inserted replaced
13:f58e3c482bd9 14:4e75731546eb
   290 	
   290 	
   291 	CAknToolbar* toolbar = Toolbar();
   291 	CAknToolbar* toolbar = Toolbar();
   292 	
   292 	
   293 	if (toolbar)
   293 	if (toolbar)
   294 		{
   294 		{
   295 		toolbar->SetToolbarVisibility(aVisible);
   295 		if (iListContainer->IsVisible()) {
       
   296 			toolbar->SetToolbarVisibility(aVisible);
       
   297 		}
   296 		toolbar->SetItemDimmed(EPodcastAddSearchResult, disableAdd, ETrue );
   298 		toolbar->SetItemDimmed(EPodcastAddSearchResult, disableAdd, ETrue );
   297 		toolbar->HideItem(EPodcastSearch, iSearchRunning, ETrue );
   299 		toolbar->HideItem(EPodcastSearch, iSearchRunning, ETrue );
   298 		toolbar->HideItem(EPodcastCancelUpdateAllFeeds, !iSearchRunning, ETrue);
   300 		toolbar->HideItem(EPodcastCancelUpdateAllFeeds, !iSearchRunning, ETrue);
   299 		}
   301 		}
   300 }
   302 }