diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-02-04 00:10:17 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-02-04 00:10:17 -0600 |
commit | 894c0c625ff1e2f2d031f48f157a3008302cb5a7 (patch) | |
tree | ccdfa8520159bb95555368aa9a7439c384e6bb1c /src/main.cpp | |
parent | 7d1ec01369d1c107cd42b0a7501f8cdb3c7e08ac (diff) | |
download | ayatana-indicator-datetime-894c0c625ff1e2f2d031f48f157a3008302cb5a7.tar.gz ayatana-indicator-datetime-894c0c625ff1e2f2d031f48f157a3008302cb5a7.tar.bz2 ayatana-indicator-datetime-894c0c625ff1e2f2d031f48f157a3008302cb5a7.zip |
pin the planner's upcoming appointments to the live clock time, rather than the calendar's time, so that they always update correctly in real-time
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 3c17923..87bfed1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -64,7 +64,7 @@ main(int /*argc*/, char** /*argv*/) state->settings = live_settings; state->clock = live_clock; state->locations.reset(new SettingsLocations(live_settings, live_timezones)); - state->planner.reset(new PlannerEds); + state->planner.reset(new PlannerEds(live_clock)); state->planner->time = live_clock->localtime(); std::shared_ptr<Actions> actions(new LiveActions(state)); MenuFactory factory(actions, state); |