aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/datetime-service.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c
index b34c23e..ea79788 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -399,8 +399,10 @@ hide_all_appointments (void)
{
int i;
- for (i=0; i<MAX_APPOINTMENT_MENUITEMS; i++)
+ for (i=0; i<MAX_APPOINTMENT_MENUITEMS; i++) {
dbusmenu_menuitem_property_set_bool(appointments[i], DBUSMENU_MENUITEM_PROP_ENABLED, FALSE);
+ dbusmenu_menuitem_property_set_bool(appointments[i], DBUSMENU_MENUITEM_PROP_VISIBLE, FALSE);
+ }
}
static gboolean