[gnome-calendar/wip/flb/weather-forecast: 111/135] week-header: Properly handle weather infos on date changes



commit f0fa9eca7029d0924c324210305b49d9ef0da19c
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 file changed, 3 insertions(+)
---
diff --git a/src/views/gcal-week-header.c b/src/views/gcal-week-header.c
index 1a1096c9..c51c8ef1 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]