diff -r d39add9822e2 -r 5bfc169077b2 widgets/widgetapp/src/WidgetUiWindowView.cpp --- a/widgets/widgetapp/src/WidgetUiWindowView.cpp Tue Feb 02 00:56:45 2010 +0200 +++ b/widgets/widgetapp/src/WidgetUiWindowView.cpp Fri Mar 19 09:52:28 2010 +0200 @@ -37,7 +37,7 @@ #include #include #include -#include +#include #ifdef RD_SCALABLE_UI_V2 #include // For Layout_Meta_Data landscape/portrait status #include @@ -229,18 +229,6 @@ { if (!iWindowManager.ActiveWindow()) return; - #ifdef RD_SCALABLE_UI_V2 - if (PenEnabled()&&(Layout_Meta_Data::IsLandscapeOrientation())&& IsEditMode()) - { - TInt newResId = Cba()->IsVisible() ? - R_AVKON_WIDESCREEN_PANE_LAYOUT_USUAL_FLAT : - R_AVKON_WIDESCREEN_PANE_LAYOUT_USUAL_FLAT_NO_SOFTKEYS; - - StatusPane()->SwitchLayoutL(newResId); - StatusPane()->ApplyCurrentSettingsL(); - StatusPane()->MakeVisible(ETrue); - } - #endif CBrCtlInterface* engine = iWindowManager.ActiveWindow()->Engine(); if( engine && (aResourceId == R_WIDGETUI_MENU || aResourceId >= R_CASCADE_MENU_1) ) { @@ -318,7 +306,7 @@ if (resId != newResId) { StatusPane()->SwitchLayoutL(newResId); - } + } } else //Portrait {