aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-10-29 12:13:38 +0100
committerCharles Kerr <charles.kerr@canonical.com>2012-10-29 12:13:38 +0100
commit59a7001d0a4cdf33da72bc036998addecfa187c5 (patch)
tree5ac5d12f3d0754b23e007f4cdcfba9eaacdc540e /src
parentef2b5d3c80fc35a11e165c5751c63d8763993e3a (diff)
downloadayatana-indicator-datetime-59a7001d0a4cdf33da72bc036998addecfa187c5.tar.gz
ayatana-indicator-datetime-59a7001d0a4cdf33da72bc036998addecfa187c5.tar.bz2
ayatana-indicator-datetime-59a7001d0a4cdf33da72bc036998addecfa187c5.zip
make hide_all_appointments() do what its function name says it does.
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