diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-09-05 17:50:38 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-09-05 17:50:38 -0500 |
commit | a7d1945d1988bc0b85e83f903191c6ee125a97af (patch) | |
tree | da6c224fea0bd9353c9db53b8ff3b464c4811724 | |
parent | 7eb56163c3032e4da74255cee732fcaf142cafe1 (diff) | |
download | ayatana-indicator-datetime-a7d1945d1988bc0b85e83f903191c6ee125a97af.tar.gz ayatana-indicator-datetime-a7d1945d1988bc0b85e83f903191c6ee125a97af.tar.bz2 ayatana-indicator-datetime-a7d1945d1988bc0b85e83f903191c6ee125a97af.zip |
fix 'upcoming appointment' section menuitems issue reported by ted
-rw-r--r-- | src/service.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/service.c b/src/service.c index c36e996..ce99c59 100644 --- a/src/service.c +++ b/src/service.c @@ -1637,7 +1637,7 @@ on_upcoming_appointments_ready (GObject * source, } static void -on_appointments_changed (IndicatorDatetimeService * self) +update_appointment_lists (IndicatorDatetimeService * self) { IndicatorDatetimePlanner * planner; GDateTime * calendar_date; @@ -1907,7 +1907,7 @@ indicator_datetime_service_init (IndicatorDatetimeService * self) p->planner = indicator_datetime_planner_eds_new (); g_signal_connect_swapped (p->planner, "appointments-changed", - G_CALLBACK(on_appointments_changed), self); + G_CALLBACK(update_appointment_lists), self); /*** @@ -2041,8 +2041,5 @@ indicator_datetime_service_set_calendar_date (IndicatorDatetimeService * self, /* sync the menuitems and action states */ if (dirty) - { - update_calendar_action_state (self); - rebuild_appointments_section_soon (self); - } + update_appointment_lists (self); } |