--- a/idlehomescreen/xmluirendering/uiengine/src/xnpopupcontroladapter.cpp Tue May 11 16:02:39 2010 +0300
+++ b/idlehomescreen/xmluirendering/uiengine/src/xnpopupcontroladapter.cpp Tue May 25 12:29:32 2010 +0300
@@ -19,7 +19,6 @@
#include <e32base.h>
#include <e32const.h>
#include <coecntrl.h>
-#include <AknUtils.h>
#include <aknstyluspopupmenu.h>
// User includes
@@ -145,6 +144,8 @@
iNode = &aNode.Node();
iUiEngine = iNode->UiEngine();
+
+ iMenuShown = EFalse;
}
// -----------------------------------------------------------------------------
@@ -341,17 +342,9 @@
CXnNode* plugin( aPlugin.Owner()->LayoutNode() );
iUiEngine->Editor()->SetTargetPlugin( plugin );
-
- if ( AknLayoutUtils::LayoutMirrored() )
- {
- iStylusPopupMenu->SetPosition( aPosition,
- CAknStylusPopUpMenu::EPositionTypeRightBottom );
- }
- else
- {
- iStylusPopupMenu->SetPosition( aPosition,
- CAknStylusPopUpMenu::EPositionTypeLeftBottom );
- }
+
+ iStylusPopupMenu->SetPosition( aPosition,
+ CAknStylusPopUpMenu::EPositionTypeRightBottom );
iStylusPopupMenu->ShowMenu();
iMenuShown = ETrue;
@@ -375,4 +368,5 @@
}
}
+
// End of file