[gnome-calendar] edit-dialog: set correct value for repeat_combo
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] edit-dialog: set correct value for repeat_combo
- Date: Mon, 24 Jul 2017 14:50:00 +0000 (UTC)
commit a22bec6de3320583a92fd7a71f1b0575b384af6f
Author: Yash Singh <yashdev10p gmail com>
Date: Sat Jul 15 00:02:22 2017 +0530
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-edit-dialog.c b/src/gcal-edit-dialog.c
index c66ff41..551cdf2 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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]