--- a/idlehomescreen/nativeuicontroller/src/aitoolbarrenderer.cpp Wed Sep 01 12:32:46 2010 +0100
+++ b/idlehomescreen/nativeuicontroller/src/aitoolbarrenderer.cpp Tue Sep 14 20:58:58 2010 +0300
@@ -36,7 +36,7 @@
#include "ainativeuiplugins.h"
-#include <AiNativeUi.rsg>
+#include <ainativeui.rsg>
#include "debug.h"
using namespace AiNativeUiController;
@@ -337,8 +337,10 @@
if ( index >= iButtons.Count() )
{
button = CAiToolbarButton::NewL();
+ CleanupStack::PushL( button );
button->SetShortcutId( aShortcutId );
- iButtons.Append( button );
+ iButtons.AppendL( button );
+ CleanupStatck::Pop( button );
}
// Use the old button