diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-01-30 18:33:14 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-01-30 18:33:14 -0600 |
commit | a7a09a5ca5012fb1c48f259d2587542316e7349b (patch) | |
tree | e6ac38cfefcbb049e4f77c1d546abc806e0389c9 /src/actions.cpp | |
parent | 8564861a5026561d94310cd60ed77e3986f64246 (diff) | |
download | ayatana-indicator-datetime-a7a09a5ca5012fb1c48f259d2587542316e7349b.tar.gz ayatana-indicator-datetime-a7a09a5ca5012fb1c48f259d2587542316e7349b.tar.bz2 ayatana-indicator-datetime-a7a09a5ca5012fb1c48f259d2587542316e7349b.zip |
copyediting: as per review, use name_of_thing() instead of get_name_of_thing() or getNameOfThing()
Diffstat (limited to 'src/actions.cpp')
-rw-r--r-- | src/actions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions.cpp b/src/actions.cpp index cdeb77f..d6fa698 100644 --- a/src/actions.cpp +++ b/src/actions.cpp @@ -146,7 +146,7 @@ GVariant* create_default_header_state() GVariant* create_calendar_state(const std::shared_ptr<State>& state) { gboolean days[32] = { 0 }; - for (const auto& appt : state->planner->thisMonth.get()) + for (const auto& appt : state->planner->this_month.get()) days[appt.begin.day_of_month()] = true; GVariantBuilder day_builder; @@ -222,7 +222,7 @@ Actions::Actions(const std::shared_ptr<State>& state): m_state->planner->time.changed().connect([this](const DateTime&){ update_calendar_state(); }); - m_state->planner->thisMonth.changed().connect([this](const std::vector<Appointment>&){ + m_state->planner->this_month.changed().connect([this](const std::vector<Appointment>&){ update_calendar_state(); }); m_state->settings->show_week_numbers.changed().connect([this](bool){ |