application/src/PodcastFeedView.cpp
changeset 13 f58e3c482bd9
parent 12 47c8595ffc70
child 14 4e75731546eb
--- a/application/src/PodcastFeedView.cpp	Thu Feb 25 18:56:36 2010 +0000
+++ b/application/src/PodcastFeedView.cpp	Thu Feb 25 20:02:27 2010 +0000
@@ -197,9 +197,9 @@
 
 	switch(aEventType)
 		{
-	case EEventEnterKeyPressed:
+//	case EEventEnterKeyPressed:
 	case EEventItemDoubleClicked:
-	case EEventItemActioned:
+//	case EEventItemActioned:
 			{
 			const RFeedInfoArray* sortedItems = NULL;
 			TInt index = iListContainer->Listbox()->CurrentItemIndex();
@@ -547,12 +547,13 @@
 	UpdateToolbar();
 	}
 
-void CPodcastFeedView::UpdateToolbar()
+void CPodcastFeedView::UpdateToolbar(TBool aVisible)
 {
 	CAknToolbar* toolbar = Toolbar();
 	
 	if (toolbar)
 		{
+		toolbar->SetToolbarVisibility(aVisible);
 		toolbar->HideItem(EPodcastUpdateAllFeeds, iUpdatingAllRunning, ETrue);
 		toolbar->HideItem(EPodcastCancelUpdateAllFeeds, !iUpdatingAllRunning, ETrue );
 		toolbar->SetItemDimmed(EPodcastAddFeed, iUpdatingAllRunning, ETrue );