From 8a0171737e2a0b3be9e277003c3987f2f8297eb8 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Tue, 26 May 1998 04:10:07 +0000 Subject: Use the contents of ee->ical->dtstart for computing the predefined values 1998-05-25 Miguel de Icaza * eventedit.c (ee_rp_init_rule): Use the contents of ee->ical->dtstart for computing the predefined values of the recurrence. svn path=/trunk/; revision=239 --- calendar/eventedit.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'calendar/eventedit.c') diff --git a/calendar/eventedit.c b/calendar/eventedit.c index 5f728793ba..f5deee298f 100644 --- a/calendar/eventedit.c +++ b/calendar/eventedit.c @@ -938,12 +938,10 @@ ee_rp_init_rule (EventEditor *ee) GSList *group; int i, page, day_period, week_period, month_period, year_period; int week_vector, default_day, def_pos, def_off; - time_t now; struct tm *tm; - now = time (NULL); - tm = localtime (&now); - + tm = localtime (&ee->ical->dtstart); + f = gtk_frame_new (_("Recurrence rule")); hbox = gtk_hbox_new (FALSE, 4); -- cgit