diff options
author | Miguel de Icaza <miguel@nuclecu.unam.mx> | 1998-05-26 12:10:07 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-05-26 12:10:07 +0800 |
commit | 8a0171737e2a0b3be9e277003c3987f2f8297eb8 (patch) | |
tree | 1cdabeb0e51b65b8c710d701e8483a485f65ab20 /calendar | |
parent | 9dd60a1845bdb3c0f3a5acd7f0475bfc5f0e8707 (diff) | |
download | gsoc2013-evolution-8a0171737e2a0b3be9e277003c3987f2f8297eb8.tar.gz gsoc2013-evolution-8a0171737e2a0b3be9e277003c3987f2f8297eb8.tar.zst gsoc2013-evolution-8a0171737e2a0b3be9e277003c3987f2f8297eb8.zip |
Use the contents of ee->ical->dtstart for computing the predefined values
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.
svn path=/trunk/; revision=239
Diffstat (limited to 'calendar')
-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); |