[gnome-calendar] edit-dialog: hide/show repeat_limits_box
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] edit-dialog: hide/show repeat_limits_box
- Date: Mon, 24 Jul 2017 14:50:10 +0000 (UTC)
commit 9a4b7087d7d2f89e96a1c9b4d158fb421065c938
Author: Yash Singh <yashdev10p gmail com>
Date: Wed Jul 19 02:11:23 2017 +0530
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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gcal-edit-dialog.c b/src/gcal-edit-dialog.c
index b198d51..68b1558 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]