quick-add-popover: fix event creation again

This commit is contained in:
Georges Basile Stavracas Neto
2016-02-18 04:02:46 -02:00
parent 21aa8ecde4
commit fd6d6e97c9
4 changed files with 44 additions and 25 deletions
+2
View File
@@ -406,7 +406,9 @@ edit_or_create_event (GcalQuickAddPopover *self,
/* Create an ECalComponent from the data above */
component = build_component_from_details (summary, date_start, date_end);
event = gcal_event_new (source, component);
gcal_event_set_all_day (event, TRUE);
/* If we clicked edit button, send a signal; otherwise, create the event */
if (button == self->add_button)