diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-09-02 23:22:04 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-09-02 23:22:04 -0500 |
commit | 7b42ea114c18dab35129a5c98b196ff173892498 (patch) | |
tree | d1e25f464f1ddd1235a2879664d3d69488f5e5ac | |
parent | b0b9b94246fad179165cca2f4d5026409349fde0 (diff) | |
download | ayatana-indicator-datetime-7b42ea114c18dab35129a5c98b196ff173892498.tar.gz ayatana-indicator-datetime-7b42ea114c18dab35129a5c98b196ff173892498.tar.bz2 ayatana-indicator-datetime-7b42ea114c18dab35129a5c98b196ff173892498.zip |
update manual-test-snap's diagnostic text to reflect snooze/ok buttons
-rw-r--r-- | tests/manual-test-snap.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/manual-test-snap.cpp b/tests/manual-test-snap.cpp index 7d4403d..369e6cd 100644 --- a/tests/manual-test-snap.cpp +++ b/tests/manual-test-snap.cpp @@ -78,12 +78,12 @@ int main(int argc, const char* argv[]) g_date_time_unref(begin); auto loop = g_main_loop_new(nullptr, false); - auto show = [loop](const Appointment& appt){ - g_message("You clicked 'show' for appt url '%s'", appt.url.c_str()); + auto on_snooze = [loop](const Appointment& appt){ + g_message("You clicked 'Snooze' for appt url '%s'", appt.url.c_str()); g_idle_add(quit_idle, loop); }; - auto dismiss = [loop](const Appointment&){ - g_message("You clicked 'dismiss'"); + auto on_ok = [loop](const Appointment&){ + g_message("You clicked 'OK'"); g_idle_add(quit_idle, loop); }; @@ -97,7 +97,7 @@ int main(int argc, const char* argv[]) auto notification_engine = std::make_shared<uin::Engine>("indicator-datetime-service"); Snap snap (notification_engine, settings); - snap(a, show, dismiss); + snap(a, on_snooze, on_ok); g_main_loop_run(loop); g_main_loop_unref(loop); |