# HG changeset patch # User teknolog # Date 1268506105 0 # Node ID 21ffe65592978ac3c1a667d673d30f5206bf2aa0 # Parent b778853e60a792acd9ff68bf8dc0eaa297479b60 Fix for middle toolbar button being drawn in single tap mode when there is only 1 button diff -r b778853e60a7 -r 21ffe6559297 application/data/PodcastShowsView.ra --- a/application/data/PodcastShowsView.ra Sat Mar 13 16:53:21 2010 +0000 +++ b/application/data/PodcastShowsView.ra Sat Mar 13 18:48:25 2010 +0000 @@ -98,9 +98,10 @@ } }; }; - } -#ifdef SYMBIAN1_UI - ,TBAR_CTRL + }, +// we keep the download toolbar button in S^3, but always disable it +// because there are drawing issues with only one item in the toolbar + TBAR_CTRL { type = EAknCtButton; id = EPodcastDownloadShow; @@ -117,7 +118,9 @@ } }; }; - }, + } +#ifdef SYMBIAN1_UI + , TBAR_CTRL { type = EAknCtButton; diff -r b778853e60a7 -r 21ffe6559297 application/group/Podcast.mmp --- a/application/group/Podcast.mmp Sat Mar 13 16:53:21 2010 +0000 +++ b/application/group/Podcast.mmp Sat Mar 13 18:48:25 2010 +0000 @@ -16,7 +16,7 @@ * */ -MACRO SYMBIAN1_UI +//MACRO SYMBIAN1_UI TARGET Podcast.exe TARGETTYPE exe diff -r b778853e60a7 -r 21ffe6559297 application/sis/podcatcher_udeb.sis Binary file application/sis/podcatcher_udeb.sis has changed diff -r b778853e60a7 -r 21ffe6559297 application/sis/podcatcher_udeb_signed.sis Binary file application/sis/podcatcher_udeb_signed.sis has changed diff -r b778853e60a7 -r 21ffe6559297 application/sis/podcatcher_urel.sis Binary file application/sis/podcatcher_urel.sis has changed diff -r b778853e60a7 -r 21ffe6559297 application/sis/podcatcher_urel_signed.sis Binary file application/sis/podcatcher_urel_signed.sis has changed diff -r b778853e60a7 -r 21ffe6559297 application/src/PodcastShowsView.cpp --- 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();