aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/eventedit.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1998-05-26 12:10:07 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-05-26 12:10:07 +0800
commit8a0171737e2a0b3be9e277003c3987f2f8297eb8 (patch)
tree1cdabeb0e51b65b8c710d701e8483a485f65ab20 /calendar/eventedit.c
parent9dd60a1845bdb3c0f3a5acd7f0475bfc5f0e8707 (diff)
downloadgsoc2013-evolution-8a0171737e2a0b3be9e277003c3987f2f8297eb8.tar
gsoc2013-evolution-8a0171737e2a0b3be9e277003c3987f2f8297eb8.tar.gz
gsoc2013-evolution-8a0171737e2a0b3be9e277003c3987f2f8297eb8.tar.bz2
gsoc2013-evolution-8a0171737e2a0b3be9e277003c3987f2f8297eb8.tar.lz
gsoc2013-evolution-8a0171737e2a0b3be9e277003c3987f2f8297eb8.tar.xz
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/eventedit.c')
-rw-r--r--calendar/eventedit.c6
1 files changed, 2 insertions, 4 deletions
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);