diff options
-rw-r--r-- | calendar/ChangeLog | 3 | ||||
-rw-r--r-- | calendar/eventedit.c | 6 | ||||
-rw-r--r-- | calendar/gui/eventedit.c | 6 |
3 files changed, 7 insertions, 8 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 38dd97b5b7..8efaab7283 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,8 @@ 1998-05-25 Miguel de Icaza <miguel@nuclecu.unam.mx> + * eventedit.c (ee_rp_init_rule): Use the contents of + ee->ical->dtstart for computing the predefined values of the recurrence. + * gncal-full-day.c (gncal_full_day_unrealize): Fix the gc destruction in the unrealization code and fix the pixmap unrefing. 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); diff --git a/calendar/gui/eventedit.c b/calendar/gui/eventedit.c index 5f728793ba..f5deee298f 100644 --- a/calendar/gui/eventedit.c +++ b/calendar/gui/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); |