--- a/calendarui/controller/src/calendeleteui.cpp Wed Mar 31 21:29:10 2010 +0300
+++ b/calendarui/controller/src/calendeleteui.cpp Wed Apr 14 15:55:57 2010 +0300
@@ -39,6 +39,8 @@
#include <caleninstanceid.h> // TCalenInstanceId
#include <calenactionuiutils.h>
#include <calcalendarinfo.h>
+#include <calentoolbar.h>
+#include <akntoolbar.h>
#include "calendarui_debug.h" // Debug
#include "calendeleteui.h"
@@ -379,6 +381,14 @@
{
MarkedEntriesDeletedL();
}
+ MCalenToolbar* toolbarImpl = iController.Services().ToolbarOrNull();
+ if (toolbarImpl)
+ {
+ CAknToolbar& toolbar = toolbarImpl->Toolbar();
+
+ // dim clear and clear all toolbar buttons
+ toolbar.SetItemDimmed(ECalenNewMeeting, EFalse, ETrue);
+ }
}
else
{