search-view: fix time label

We want to show "All day" when the event is all day, not
when it ~isn't~ all day.

https://bugzilla.gnome.org/show_bug.cgi?id=771677
This commit is contained in:
Georges Basile Stavracas Neto
2016-09-27 23:16:20 -03:00
parent 4582ade21d
commit e79bdfb933
+1 -1
View File
@@ -342,7 +342,7 @@ make_row_for_event (GcalSearchView *view,
g_free (text);
/* show 'all day' instead of 00:00 */
if (gcal_event_get_all_day (event))
if (!gcal_event_get_all_day (event))
{
text = g_date_time_format (local_datetime, view->format_24h ? "%R" : "%r");
time_label = gtk_label_new (text);