edit-dialog: fix insensitive time choosers

They are hidden now, no need to handle the sensitive
state of them as well.
This commit is contained in:
Georges Basile Stavracas Neto
2016-08-30 00:30:58 -03:00
parent a483af3741
commit 3560a9de43
-2
View File
@@ -1052,8 +1052,6 @@ gcal_edit_dialog_set_event (GcalEditDialog *dialog,
gcal_time_selector_set_time (GCAL_TIME_SELECTOR (dialog->end_time_selector), date_end);
/* all_day */
gtk_widget_set_sensitive (dialog->start_time_selector, dialog->writable && !all_day);
gtk_widget_set_sensitive (dialog->end_time_selector, dialog->writable && !all_day);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dialog->all_day_check), all_day);
/* location */