calendarui/views/src/calenmissedeventcontainer.cpp
branchRCL_3
changeset 28 96907930389d
parent 20 9c5b1510919f
--- a/calendarui/views/src/calenmissedeventcontainer.cpp	Thu Jul 15 18:37:27 2010 +0300
+++ b/calendarui/views/src/calenmissedeventcontainer.cpp	Thu Aug 19 09:53:43 2010 +0300
@@ -63,6 +63,7 @@
 #include <calencontext.h>
 #include <caleninstanceid.h>            // TCalenInstanceId
 #include <calenservices.h>
+#include <calentoolbar.h>
 
 // user includes
 #include "calenmissedeventcontainer.h"
@@ -176,6 +177,14 @@
 	
     
 	iTextEditor->EnableKineticScrollingL(ETrue);
+	
+	//Set toolbar visibility to false, bcoz this view is not using the ToolBar
+	MCalenToolbar* toolbar = iServices.ToolbarOrNull(); 
+    if(toolbar)
+      {
+      toolbar->SetToolbarVisibilityL(EFalse);  
+      }
+	    
    	TRACE_EXIT_POINT;
 	}
 
@@ -500,11 +509,11 @@
         ( aType == KUidValueCoeZoomChangeEvent ) ||
         ( aType == KUidValueCoeFontChangeEvent ))
         {
-//        CEikAppUi* appUi = static_cast<CEikAppUi*>( ControlEnv()->AppUi() );
-//        SetRect( appUi->ClientRect() );
-        TRect mainPane;
+        CEikAppUi* appUi = static_cast<CEikAppUi*>( ControlEnv()->AppUi() );
+        SetRect( appUi->ClientRect() );
+        /*TRect mainPane;
         AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EMainPane, mainPane );
-        SetRect( mainPane );
+        SetRect( mainPane );*/
         }
     
     if(aType == KAknsMessageSkinChange || aType == KEikDynamicLayoutVariantSwitch)