From a22bec6de3320583a92fd7a71f1b0575b384af6f Mon Sep 17 00:00:00 2001 From: Yash Singh Date: Sat, 15 Jul 2017 00:02:22 +0530 Subject: [PATCH] edit-dialog: set correct value for repeat_combo repeat_combo was assigned a value after repeat_duration combo was assigned a value, which changed the value of the repeat_duration combo due to the repeat_option_changed function. This patch fixes this issue by assigning the value to repeat_combo prior to repeat_duration_combo. https://bugzilla.gnome.org/show_bug.cgi?id=782755 --- src/gcal-edit-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gcal-edit-dialog.c b/src/gcal-edit-dialog.c index c66ff418..551cdf29 100644 --- a/src/gcal-edit-dialog.c +++ b/src/gcal-edit-dialog.c @@ -1288,8 +1288,8 @@ gcal_edit_dialog_set_event (GcalEditDialog *dialog, frequency = recur ? recur->frequency : GCAL_RECURRENCE_NO_REPEAT; limit_type = recur ? recur->limit_type : GCAL_RECURRENCE_FOREVER; - gtk_combo_box_set_active (GTK_COMBO_BOX (dialog->repeat_duration_combo), limit_type); gtk_combo_box_set_active (GTK_COMBO_BOX (dialog->repeat_combo), frequency); + gtk_combo_box_set_active (GTK_COMBO_BOX (dialog->repeat_duration_combo), limit_type); if (frequency == GCAL_RECURRENCE_NO_REPEAT) {