aboutsummaryrefslogtreecommitdiff
path: root/src/planner-eds.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-22 07:57:21 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-01-22 07:57:21 -0600
commit0ec1731c28ee208eab98f3ff53bc63cedb527b75 (patch)
tree51699c5844cafc206e284b112724f04204e8f884 /src/planner-eds.cpp
parentf1027f7cd2f846211a46b072965331fb0eb69fec (diff)
downloadayatana-indicator-datetime-0ec1731c28ee208eab98f3ff53bc63cedb527b75.tar.gz
ayatana-indicator-datetime-0ec1731c28ee208eab98f3ff53bc63cedb527b75.tar.bz2
ayatana-indicator-datetime-0ec1731c28ee208eab98f3ff53bc63cedb527b75.zip
in PlannerEds, wire in planner.thisMonth and planner.upcoming
Diffstat (limited to 'src/planner-eds.cpp')
-rw-r--r--src/planner-eds.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/planner-eds.cpp b/src/planner-eds.cpp
index b3f751a..f7a1d17 100644
--- a/src/planner-eds.cpp
+++ b/src/planner-eds.cpp
@@ -228,6 +228,7 @@ private:
{
getAppointments(begin, end, [this](const std::vector<Appointment>& appointments) {
g_message("got %d appointments in this calendar month", (int)appointments.size());
+ m_owner.thisMonth.set(appointments);
});
}
g_clear_pointer(&begin, g_date_time_unref);
@@ -240,6 +241,7 @@ private:
{
getAppointments(begin, end, [this](const std::vector<Appointment>& appointments) {
g_message("got %d upcoming appointments", (int)appointments.size());
+ m_owner.upcoming.set(appointments);
});
}
g_clear_pointer(&begin, g_date_time_unref);