[gnome-calendar/wip/flb/weather-forecast: 24/50] week-header: Properly handle weather infos on date changes
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/wip/flb/weather-forecast: 24/50] week-header: Properly handle weather infos on date changes
- Date: Tue, 31 Oct 2017 08:19:50 +0000 (UTC)
commit 4d0372be4517762976b9a7d06009c283a76d13d6
Author: Florian Brosch <flo brosch gmail com>
Date: Sun Oct 15 21:58:57 2017 +0200
week-header: Properly handle weather infos on date changes
src/views/gcal-week-header.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/views/gcal-week-header.c b/src/views/gcal-week-header.c
index 1a1096c..c51c8ef 100644
--- a/src/views/gcal-week-header.c
+++ b/src/views/gcal-week-header.c
@@ -1859,6 +1859,7 @@ gcal_week_header_set_first_weekday (GcalWeekHeader *self,
self->first_weekday = nr_day;
}
+
void
gcal_week_header_set_use_24h_format (GcalWeekHeader *self,
gboolean use_24h_format)
@@ -2076,6 +2077,8 @@ gcal_week_header_set_date (GcalWeekHeader *self,
if (old_date)
update_unchanged_events (self, self->active_date);
+ gcal_week_header_update_weather_infos (self);
+
g_clear_pointer (&old_date, g_free);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]