Automatic merge from PDK_3.0.h CompilerCompatibility
authorWilliam Roberts <williamr@symbian.org>
Sun, 14 Mar 2010 13:09:45 +0000
branchCompilerCompatibility
changeset 9 b7b15c777cb3
parent 7 3f8d60e82782 (current diff)
parent 6 57ec1f1a7fd2 (diff)
Automatic merge from PDK_3.0.h
--- a/extras/calcsoft/src/CalcOutSheet.cpp	Mon Mar 08 21:43:29 2010 +0000
+++ b/extras/calcsoft/src/CalcOutSheet.cpp	Sun Mar 14 13:09:45 2010 +0000
@@ -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	Mon Mar 08 21:43:29 2010 +0000
+++ b/extras/converter/Ui/Src/CCnvMainForm.cpp	Sun Mar 14 13:09:45 2010 +0000
@@ -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 );
+			}
 		}
 	}