application/src/PodcastShowsView.cpp
changeset 54 21ffe6559297
parent 50 e7b10d6d7ba3
child 67 9c24c921ec35
child 96 a8538f50e2ba
--- a/application/src/PodcastShowsView.cpp	Sat Mar 13 16:53:21 2010 +0000
+++ b/application/src/PodcastShowsView.cpp	Sat Mar 13 18:48:25 2010 +0000
@@ -652,8 +652,12 @@
 	
 		toolbar->HideItem(EPodcastUpdateFeed, updatingState, ETrue ); 
 		toolbar->HideItem(EPodcastCancelUpdateAllFeeds, !updatingState, ETrue );
-
-#ifdef SYMBIAN1_UI
+#ifndef SYMBIAN1_UI
+		// there seems to be drawing bugs in the toolbar if there is only
+		// one or two buttons defined in the resource, so we have download
+		// there but always hidden
+		toolbar->HideItem(EPodcastDownloadShow, ETrue, ETrue );
+#else SYMBIAN1_UI
 		RShowInfoArray &fItems = iPodcastModel.ActiveShowList();
 		TInt itemCnt = fItems.Count();