idlehomescreen/xmluirendering/uiengine/src/xnwidgetextensionadapter.cpp
branchRCL_3
changeset 78 89165693e770
parent 59 d721605b30d0
--- a/idlehomescreen/xmluirendering/uiengine/src/xnwidgetextensionadapter.cpp	Mon Jun 21 15:27:11 2010 +0300
+++ b/idlehomescreen/xmluirendering/uiengine/src/xnwidgetextensionadapter.cpp	Thu Jul 15 18:25:29 2010 +0300
@@ -112,7 +112,8 @@
 // -----------------------------------------------------------------------------
 //
 CXnWidgetExtensionAdapter::CXnWidgetExtensionAdapter( CXnNodePluginIf& aNode )
-    : iNode( aNode ), iPositionHint( EAboveLeft )
+    : iPositionHint( AknLayoutUtils::LayoutMirrored() ? EAboveRight : EAboveLeft ),
+      iNode( aNode )
     {
     }
 
@@ -412,14 +413,13 @@
                      iPositionHint = EAboveLeft; 
                      }
                  }
-        
-            if ( iPositionHint != ENone )
-                {    
-                // the popup is going visible and position-hind is available
-                // calculate its position
-                CalculatePosition();
-                }
-            }        
+            }
+        if ( iPositionHint != ENone )
+            {
+            // the popup is going visible and position-hind is available
+            // calculate its position
+            CalculatePosition();
+            }
         }
     }