diff options
author | Nat Friedman <nat@nat.org> | 1999-03-24 09:49:01 +0800 |
---|---|---|
committer | Nat Friedman <nat@src.gnome.org> | 1999-03-24 09:49:01 +0800 |
commit | 7a0e4d23990c3f42df8710ae8c0082d28757d785 (patch) | |
tree | 164b6de0d6899cc7a2b1d07dbdea7d9365741a21 | |
parent | 6dca9d9fe0479dc80c92fed889ebb74f4e126b5a (diff) | |
download | gsoc2013-evolution-7a0e4d23990c3f42df8710ae8c0082d28757d785.tar.gz gsoc2013-evolution-7a0e4d23990c3f42df8710ae8c0082d28757d785.tar.zst gsoc2013-evolution-7a0e4d23990c3f42df8710ae8c0082d28757d785.zip |
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
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/eventedit.c | 3 | ||||
-rw-r--r-- | calendar/gui/eventedit.c | 3 |
3 files changed, 13 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 4453610820..81fc21e15a 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -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 diff --git a/calendar/eventedit.c b/calendar/eventedit.c index 72d48617d0..4ae35d5fe7 100644 --- a/calendar/eventedit.c +++ b/calendar/eventedit.c @@ -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 */ diff --git a/calendar/gui/eventedit.c b/calendar/gui/eventedit.c index 72d48617d0..4ae35d5fe7 100644 --- a/calendar/gui/eventedit.c +++ b/calendar/gui/eventedit.c @@ -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 */ |