diff -r a5a1242fd2e8 -r b0711afde476 calendarui/views/src/calenmonthview.cpp --- a/calendarui/views/src/calenmonthview.cpp Thu Sep 02 20:25:23 2010 +0300 +++ b/calendarui/views/src/calenmonthview.cpp Fri Sep 17 08:29:05 2010 +0300 @@ -328,7 +328,10 @@ // Connect to the signal when options menu is shown // This is required to add/remove dynamically some options connect(menu(), SIGNAL(aboutToShow ()), this, - SLOT(addRemoveActionsInMenu())); + SLOT(addRemoveActionsInMenu())); + // Close the menu once closeDialogs() is received + connect(this, SIGNAL(closeDialogs()), menu(), SLOT(close())); + //add "show lunar data" action item ,if regional plugin is present //regional plugin will add the option itself and handles it accordingly //use this api after adding all action item to the menu