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
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
81ce012ed7
commit
9a4b7087d7
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user