diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-10-29 12:13:38 +0100 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-10-29 12:13:38 +0100 |
commit | 59a7001d0a4cdf33da72bc036998addecfa187c5 (patch) | |
tree | 5ac5d12f3d0754b23e007f4cdcfba9eaacdc540e | |
parent | ef2b5d3c80fc35a11e165c5751c63d8763993e3a (diff) | |
download | ayatana-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.
-rw-r--r-- | src/datetime-service.c | 4 |
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 |