--- 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 <AknSgcc.h>
#include <akntitle.h>
#include <centralrepository.h>
-#include <browseruisdkcrkeys.h>
+#include <BrowserUiSDKCRKeys.h>
#ifdef RD_SCALABLE_UI_V2
#include <LayoutMetaData.cdl.h> // For Layout_Meta_Data landscape/portrait status
#include <akntoolbar.h>
@@ -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
{