aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJi Lee <g@ucsd.edu>1998-10-12 15:17:09 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-10-12 15:17:09 +0800
commit3e09b5e4b215c023529ffb4ea1a84018d236ce2e (patch)
tree3172cf15de8bbd7095c2b55687ae225189c66055
parent1ffd143502f5f98d7ea1824f6560f76a8653c1cc (diff)
downloadgsoc2013-evolution-3e09b5e4b215c023529ffb4ea1a84018d236ce2e.tar
gsoc2013-evolution-3e09b5e4b215c023529ffb4ea1a84018d236ce2e.tar.gz
gsoc2013-evolution-3e09b5e4b215c023529ffb4ea1a84018d236ce2e.tar.bz2
gsoc2013-evolution-3e09b5e4b215c023529ffb4ea1a84018d236ce2e.tar.lz
gsoc2013-evolution-3e09b5e4b215c023529ffb4ea1a84018d236ce2e.tar.xz
gsoc2013-evolution-3e09b5e4b215c023529ffb4ea1a84018d236ce2e.tar.zst
gsoc2013-evolution-3e09b5e4b215c023529ffb4ea1a84018d236ce2e.zip
The interval was never being loaded from the spin button.
1998-10-12 Ji Lee <g@ucsd.edu> * eventedit.c (ee_store_recur_rule_to_ical): The interval was never being loaded from the spin button. svn path=/trunk/; revision=446
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/eventedit.c12
-rw-r--r--calendar/gui/eventedit.c12
3 files changed, 23 insertions, 6 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index def4c6dc1c..bfc17a4a39 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+1998-10-12 Ji Lee <g@ucsd.edu>
+
+ * eventedit.c (ee_store_recur_rule_to_ical): The interval was
+ never being loaded from the spin button.
+
1998-10-09 Federico Mena Quintero <federico@nuclecu.unam.mx>
* month-view.c (month_view_update): Create a list of children and
diff --git a/calendar/eventedit.c b/calendar/eventedit.c
index a44b18e886..c46da47c1f 100644
--- a/calendar/eventedit.c
+++ b/calendar/eventedit.c
@@ -555,14 +555,20 @@ ee_store_recur_rule_to_ical (EventEditor *ee)
ical->recur->type = RECUR_MONTHLY_BY_DAY;
ical->recur->u.month_day =
- gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (ee->recur_rr_month_date));
+ gtk_spin_button_get_value_as_int (
+ GTK_SPIN_BUTTON (ee->recur_rr_month_date));
} else {
/* by position */
ical->recur->type = RECUR_MONTHLY_BY_POS;
- ical->recur->u.month_pos = option_menu_active_number (ee->recur_rr_month_day);
- ical->recur->u.month_day = option_menu_active_number (ee->recur_rr_month_weekday);
+ ical->recur->u.month_pos =
+ option_menu_active_number (ee->recur_rr_month_day);
+ 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;
diff --git a/calendar/gui/eventedit.c b/calendar/gui/eventedit.c
index a44b18e886..c46da47c1f 100644
--- a/calendar/gui/eventedit.c
+++ b/calendar/gui/eventedit.c
@@ -555,14 +555,20 @@ ee_store_recur_rule_to_ical (EventEditor *ee)
ical->recur->type = RECUR_MONTHLY_BY_DAY;
ical->recur->u.month_day =
- gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (ee->recur_rr_month_date));
+ gtk_spin_button_get_value_as_int (
+ GTK_SPIN_BUTTON (ee->recur_rr_month_date));
} else {
/* by position */
ical->recur->type = RECUR_MONTHLY_BY_POS;
- ical->recur->u.month_pos = option_menu_active_number (ee->recur_rr_month_day);
- ical->recur->u.month_day = option_menu_active_number (ee->recur_rr_month_weekday);
+ ical->recur->u.month_pos =
+ option_menu_active_number (ee->recur_rr_month_day);
+ 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;