calendarui/views/src/calenmissedeventview.cpp
branchRCL_3
changeset 28 96907930389d
parent 25 bf573002ff72
--- a/calendarui/views/src/calenmissedeventview.cpp	Thu Jul 15 18:37:27 2010 +0300
+++ b/calendarui/views/src/calenmissedeventview.cpp	Thu Aug 19 09:53:43 2010 +0300
@@ -155,13 +155,6 @@
         	    {
                 RedrawStatusPaneL();
         	    }
-        	
-        	//no tool bar in missed event view
-        	MCalenToolbar* toolbar = iServices.ToolbarOrNull(); 
-        	    if(toolbar && toolbar->IsVisible())
-        	      {
-        	      toolbar->SetToolbarVisibilityL(EFalse);  
-        	      } 
         	nextStep = CCalenView::EDone;
         	}
         	break;
@@ -260,11 +253,11 @@
     TRACE_ENTRY_POINT;
     
     iPreviousViewId.iViewUid = KNullUid;
-    MCalenToolbar* toolbar = iServices.ToolbarOrNull(); 
+    /*MCalenToolbar* toolbar = iServices.ToolbarOrNull(); 
     if(toolbar)
         {
         toolbar->SetToolbarVisibilityL(ETrue);  
-        }
+        }*/
 
         
     TRACE_EXIT_POINT;
@@ -324,10 +317,19 @@
             CCalenNativeView::HandleCommandL(aCommand);         
         	}
             break;
-        case EAknSoftkeyClose:   
+        case EAknSoftkeyClose:
+            {
+            MCalenToolbar* toolbar = iServices.ToolbarOrNull(); 
+            if(toolbar)
+                {
+                toolbar->SetToolbarVisibilityL(ETrue);  
+                }
+            iServices.IssueNotificationL(ECalenNotifyMissedEventViewClosed);
+            break;
+            }
+            
         case EAknSoftkeyBack:
-			{
-		
+			{		
 	        iServices.IssueNotificationL(ECalenNotifyMissedEventViewClosed);
 			break;
 			}