aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2016-04-28 11:56:11 -0300
committerRobert Tari <robert@tari.in>2021-07-07 01:25:48 +0200
commit85cb430bd147719fed43f4ccf04b9d22cad33bfc (patch)
treed3b97d54cfaf1faa4275adfc93dcd749c4c6d47a /src/main.cpp
parent846dfb9d7b16aec7923444083256a8565f308013 (diff)
downloadayatana-indicator-datetime-85cb430bd147719fed43f4ccf04b9d22cad33bfc.tar.gz
ayatana-indicator-datetime-85cb430bd147719fed43f4ccf04b9d22cad33bfc.tar.bz2
ayatana-indicator-datetime-85cb430bd147719fed43f4ccf04b9d22cad33bfc.zip
Detect desktop to launch applications.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 729f0e5..034a5ef 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -157,7 +157,7 @@ main(int /*argc*/, char** /*argv*/)
snooze_planner->add(appointment, alarm);
};
auto on_ok = [actions](const Appointment& app, const Alarm&){
- actions->phone_open_appointment(app, app.begin);
+ actions->open_appointment(app, app.begin);
};
auto on_alarm_reached = [&engine, &snap, &on_snooze, &on_ok](const Appointment& appointment, const Alarm& alarm) {
(*snap)(appointment, alarm, on_snooze, on_ok);