--- a/idlehomescreen/nativeuicontroller/src/aistyluspopupmenucontent.cpp Wed Sep 15 12:00:00 2010 +0300
+++ b/idlehomescreen/nativeuicontroller/src/aistyluspopupmenucontent.cpp Wed Oct 13 14:18:30 2010 +0300
@@ -108,15 +108,14 @@
flags = KAknButtonTextLeft | KAknButtonSizeFitText | KAknButtonNoFrame;
CAknButton* item = CAknButton::NewL( NULL, NULL, NULL, NULL, aItem,
KNullDesC, flags, 0 );
- CleanupStack::PushL( item );
+
item->SetTextFont( AknLayoutUtils::FontFromId(
AknLayoutScalable_Avkon::
list_single_popup_submenu_pane_t1( 0 ).LayoutLine().FontId() ) );
item->SetBackground( Background() );
item->SetObserver( &aObserver );
- iItems.AppendL( item );
- CleanupStatck::Pop( item );
- iCommands.AppendL( aCommandId );
+ iItems.Append( item );
+ iCommands.Append( aCommandId );
SizeChanged();
}