aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNat Friedman <nat@nat.org>1999-03-24 09:49:01 +0800
committerNat Friedman <nat@src.gnome.org>1999-03-24 09:49:01 +0800
commit7a0e4d23990c3f42df8710ae8c0082d28757d785 (patch)
tree164b6de0d6899cc7a2b1d07dbdea7d9365741a21
parent6dca9d9fe0479dc80c92fed889ebb74f4e126b5a (diff)
downloadgsoc2013-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/ChangeLog7
-rw-r--r--calendar/eventedit.c3
-rw-r--r--calendar/gui/eventedit.c3
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 */