[gnome-calendar] search-view: fix time label
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] search-view: fix time label
- Date: Wed, 28 Sep 2016 02:19:56 +0000 (UTC)
commit e79bdfb9331285d933ccc38f8063fe7eabd6bef5
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Sep 27 23:16:20 2016 -0300
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-search-view.c b/src/gcal-search-view.c
index 96c8855..b8a13e3 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]