aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1999-01-29 09:13:29 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-01-29 09:13:29 +0800
commitb1f6df5d5d869861e1fb3e38d6e665f2cf638709 (patch)
treefe486e3005c92d2da2829d10eeaa112216be3154 /calendar/gui/calendar.c
parent7fa29f65a4b068db075d0da9dbf05c2a3c4569a4 (diff)
downloadgsoc2013-evolution-b1f6df5d5d869861e1fb3e38d6e665f2cf638709.tar.gz
gsoc2013-evolution-b1f6df5d5d869861e1fb3e38d6e665f2cf638709.tar.zst
gsoc2013-evolution-b1f6df5d5d869861e1fb3e38d6e665f2cf638709.zip
Add --hidden key to hide the calendar at startup. Only works with GNOME
1999-01-28 Miguel de Icaza <miguel@nuclecu.unam.mx> * main.c (parse_an_arg): Add --hidden key to hide the calendar at startup. Only works with GNOME window managers though :-( svn path=/trunk/; revision=635
Diffstat (limited to 'calendar/gui/calendar.c')
-rw-r--r--calendar/gui/calendar.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/calendar/gui/calendar.c b/calendar/gui/calendar.c
index c9f4dc9493..b451703e8a 100644
--- a/calendar/gui/calendar.c
+++ b/calendar/gui/calendar.c
@@ -434,7 +434,16 @@ calendar_object_changed (Calendar *cal, iCalObject *obj, int flags)
static void
calendar_day_change (time_t time, CalendarAlarm *which, void *closure)
{
+ GList *events;
+ Calendar *cal = closure;
+
calendar_set_day ();
+
+ for (events = cal->events; events; events = events->next){
+ iCalObject *obj = events->data;
+
+ ical_object_try_alarms (obj);
+ }
}
static void