From 9a4b7087d7d2f89e96a1c9b4d158fb421065c938 Mon Sep 17 00:00:00 2001 From: Yash Singh Date: Wed, 19 Jul 2017 02:11:23 +0530 Subject: [PATCH] edit-dialog: hide/show repeat_limits_box Instead of hiding the individual children of the repeat_limits_box, hiding the repeat_limits_box solves alignment issues, where an undesired gap was visible below the repeat_combo upon opening the edit-dialog for the first time. https://bugzilla.gnome.org/show_bug.cgi?id=782755 --- src/gcal-edit-dialog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gcal-edit-dialog.c b/src/gcal-edit-dialog.c index b198d51f..68b1558b 100644 --- a/src/gcal-edit-dialog.c +++ b/src/gcal-edit-dialog.c @@ -1293,11 +1293,11 @@ gcal_edit_dialog_set_event (GcalEditDialog *dialog, if (frequency == GCAL_RECURRENCE_NO_REPEAT) { - gtk_widget_hide (dialog->repeat_duration_combo); - gtk_widget_hide (dialog->repeat_duration_stack); + gtk_widget_hide (dialog->repeat_limits_box); } else { + gtk_widget_show (dialog->repeat_limits_box); gtk_widget_show (dialog->repeat_duration_combo); }