From e79bdfb9331285d933ccc38f8063fe7eabd6bef5 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Tue, 27 Sep 2016 23:16:20 -0300 Subject: [PATCH] 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 --- src/gcal-search-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gcal-search-view.c b/src/gcal-search-view.c index 96c88554..b8a13e3b 100644 --- a/src/gcal-search-view.c +++ b/src/gcal-search-view.c @@ -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);