Revision: 201003 RCL_3 PDK_3.0.h
authorDremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 22:52:07 +0200
branchRCL_3
changeset 6 57ec1f1a7fd2
parent 2 c4c2ac0facfd
child 8 ebe992a85829
Revision: 201003 Kit: 201007
extras/calcsoft/src/CalcOutSheet.cpp
extras/converter/Ui/Src/CCnvMainForm.cpp
--- a/extras/calcsoft/src/CalcOutSheet.cpp	Tue Feb 02 00:11:26 2010 +0200
+++ b/extras/calcsoft/src/CalcOutSheet.cpp	Fri Feb 19 22:52:07 2010 +0200
@@ -780,20 +780,20 @@
   
     if ( aType == KEikDynamicLayoutVariantSwitch )
         {
-        if ( AknLayoutUtils::PenEnabled() )
-            {
-            ScrollToBottomL();
-            }
-        }
-	if(aType == KAknsMessageSkinChange)
-	{
-		if( AknLayoutUtils::PenEnabled()  )
-        {
-        	delete(iSBFrame);
-    		iSBFrame = NULL;
-	
-		    UpdateScrollIndicatorL();
-        }
-	}
+        if (AknLayoutUtils::PenEnabled())
+			{
+			ScrollToBottomL();
+			}
+		}
+	if ( aType == KAknsMessageSkinChange || aType == KEikMessageUnfadeWindows )
+		{
+		if (AknLayoutUtils::PenEnabled())
+			{
+			delete (iSBFrame);
+			iSBFrame = NULL;
+
+			UpdateScrollIndicatorL();
+			}
+		}
 }
 //  End of File  
--- a/extras/converter/Ui/Src/CCnvMainForm.cpp	Tue Feb 02 00:11:26 2010 +0200
+++ b/extras/converter/Ui/Src/CCnvMainForm.cpp	Fri Feb 19 22:52:07 2010 +0200
@@ -269,6 +269,15 @@
 				break;
 				}
 			}
+		if ( iTypePopupCtrl->SelectionMode() ==  CAknPopupField::EAknPopupFieldSelectionListMode ||
+				iUnit1PopupCtrl->SelectionMode() == CAknPopupField::EAknPopupFieldSelectionListMode ||
+				iUnit2PopupCtrl->SelectionMode() == CAknPopupField::EAknPopupFieldSelectionListMode)
+			{
+			aMenuPane->SetItemDimmed( ECmdSetCurrency, ETrue );
+			aMenuPane->SetItemDimmed( ECmdSetType, ETrue );
+			aMenuPane->SetItemDimmed( ECmdSetUnit, ETrue );
+			aMenuPane->SetItemDimmed( ECmdRates, ETrue );
+			}
 		}
 	}