Set the recur->interval to the value of the recur_rr_month_period spin

1999-03-23  Nat Friedman  <nat@nat.org>

	* eventedit.c (ee_store_recur_rule_to_ical): Set the
 	recur->interval to the value of the recur_rr_month_period spin
 	button if the event is being set "by day."  This closes bug #675
 	as reported by bagfors@hpc2n.umu.se.  Thanks for the report!

svn path=/trunk/; revision=777
This commit is contained in:
Nat Friedman
1999-03-24 01:49:01 +00:00
committed by Nat Friedman
parent 6dca9d9fe0
commit 7a0e4d2399
3 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,10 @@
1999-03-23 Nat Friedman <nat@nat.org>
* eventedit.c (ee_store_recur_rule_to_ical): Set the
recur->interval to the value of the recur_rr_month_period spin
button if the event is being set "by day." This closes bug #675
as reported by bagfors@hpc2n.umu.se. Thanks for the report!
1999-03-10 Clifford R. Conover <rconover@montana.edu>
* gncal-todo.c (simple_todo_editor): Add support for Due Date when

View File

@ -570,6 +570,9 @@ ee_store_recur_rule_to_ical (EventEditor *ee)
ical->recur->u.month_day =
gtk_spin_button_get_value_as_int (
GTK_SPIN_BUTTON (ee->recur_rr_month_date));
ical->recur->interval =
gtk_spin_button_get_value_as_int (
GTK_SPIN_BUTTON (ee->recur_rr_month_period));
} else {
/* by position */

View File

@ -570,6 +570,9 @@ ee_store_recur_rule_to_ical (EventEditor *ee)
ical->recur->u.month_day =
gtk_spin_button_get_value_as_int (
GTK_SPIN_BUTTON (ee->recur_rr_month_date));
ical->recur->interval =
gtk_spin_button_get_value_as_int (
GTK_SPIN_BUTTON (ee->recur_rr_month_period));
} else {
/* by position */