aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorNuno Ferreira <nmrf@rnl.ist.utl.pt>1998-06-01 06:12:28 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-06-01 06:12:28 +0800
commitd20c8a382f1cb532f0f75f3e6e346e0ba672da7f (patch)
treed85cdc7a95bdef863fa4804c1574daa3fe04568e /calendar
parent5aa6d79e49917ec41e7a8b9c277cd281c1323f8c (diff)
downloadgsoc2013-evolution-d20c8a382f1cb532f0f75f3e6e346e0ba672da7f.tar
gsoc2013-evolution-d20c8a382f1cb532f0f75f3e6e346e0ba672da7f.tar.gz
gsoc2013-evolution-d20c8a382f1cb532f0f75f3e6e346e0ba672da7f.tar.bz2
gsoc2013-evolution-d20c8a382f1cb532f0f75f3e6e346e0ba672da7f.tar.lz
gsoc2013-evolution-d20c8a382f1cb532f0f75f3e6e346e0ba672da7f.tar.xz
gsoc2013-evolution-d20c8a382f1cb532f0f75f3e6e346e0ba672da7f.tar.zst
gsoc2013-evolution-d20c8a382f1cb532f0f75f3e6e346e0ba672da7f.zip
Fill in ical->recur->interval from value in spin_button. This ixed an
1998-05-27 Nuno Ferreira <nmrf@rnl.ist.utl.pt> * eventedit.c (ee_store_recur_rule_to_ical): Fill in ical->recur->interval from value in spin_button. This ixed an infinnite loop. svn path=/trunk/; revision=242
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/eventedit.c2
-rw-r--r--calendar/gui/eventedit.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index b128d48ed9..700274e1f1 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+1998-05-27 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
+
+ * eventedit.c (ee_store_recur_rule_to_ical): Fill in
+ ical->recur->interval from value in spin_button. This ixed an
+ infinnite loop.
+
1998-05-30 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gncal-full-day.c (child_draw): Paint the decorations correctly.
diff --git a/calendar/eventedit.c b/calendar/eventedit.c
index f5deee298f..7a686ec264 100644
--- a/calendar/eventedit.c
+++ b/calendar/eventedit.c
@@ -565,13 +565,13 @@ ee_store_recur_rule_to_ical (EventEditor *ee)
ical->recur->u.month_day = option_menu_active_number (ee->recur_rr_month_weekday);
}
- ical->recur->interval = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (ee->recur_rr_month_period));
break;
case 4:
/* Yearly */
ical->recur->type = RECUR_YEARLY_BY_DAY;
+ ical->recur->interval = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (ee->recur_rr_year_period));
/* FIXME: need to specify anything else? I am assuming the code will look at the dtstart
* to figure out when to recur. - Federico
*/
diff --git a/calendar/gui/eventedit.c b/calendar/gui/eventedit.c
index f5deee298f..7a686ec264 100644
--- a/calendar/gui/eventedit.c
+++ b/calendar/gui/eventedit.c
@@ -565,13 +565,13 @@ ee_store_recur_rule_to_ical (EventEditor *ee)
ical->recur->u.month_day = option_menu_active_number (ee->recur_rr_month_weekday);
}
- ical->recur->interval = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (ee->recur_rr_month_period));
break;
case 4:
/* Yearly */
ical->recur->type = RECUR_YEARLY_BY_DAY;
+ ical->recur->interval = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (ee->recur_rr_year_period));
/* FIXME: need to specify anything else? I am assuming the code will look at the dtstart
* to figure out when to recur. - Federico
*/