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
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 14:37:39 +0200
commita6422822a9b9a18bae705e56f2b53ee0b61ff1dc (patch)
tree87b245835da758b195fca2228db01dceae04f003 /src/main.cpp
parent0fb4679e9043ba2591055f46445294cf508be0fb (diff)
downloadayatana-indicator-datetime-a6422822a9b9a18bae705e56f2b53ee0b61ff1dc.tar.gz
ayatana-indicator-datetime-a6422822a9b9a18bae705e56f2b53ee0b61ff1dc.tar.bz2
ayatana-indicator-datetime-a6422822a9b9a18bae705e56f2b53ee0b61ff1dc.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);