From 0a88a8d7aee8d8ee253de43f031c0811d8015a3a Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Sat, 9 Sep 2023 12:37:35 +0200 Subject: Remove osd-notify remnants and use native notification timeout --- tests/notification-fixture.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'tests/notification-fixture.h') diff --git a/tests/notification-fixture.h b/tests/notification-fixture.h index 2349bab..33bcd7e 100644 --- a/tests/notification-fixture.h +++ b/tests/notification-fixture.h @@ -1,6 +1,6 @@ /* * Copyright 2014-2016 Canonical Ltd. - * Copyright 2021 Robert Tari + * Copyright 2021-2023 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -77,8 +77,6 @@ protected: static constexpr char const * SIGNAL_CLOSED {"NotificationClosed"}; - static constexpr char const * HINT_TIMEOUT {"x-lomiri-snap-decisions-timeout"}; - static constexpr char const * AS_BUSNAME {"org.freedesktop.Accounts"}; static constexpr char const * AS_INTERFACE {"com.lomiri.touch.AccountsService.Sound"}; static constexpr char const * PROP_OTHER_VIBRATIONS {"OtherVibrate"}; @@ -315,8 +313,8 @@ protected: void make_interactive() { // GetCapabilities returns an array containing 'actions', - // so our snap decision will be interactive. - // For this test, it means we should get a timeout Notify Hint + // so our notifications will be interactive. + // For this test, it means we should get an expire_timeout // that matches duration_minutes GError * error = nullptr; dbus_test_dbus_mock_object_add_method(notify_mock, -- cgit v1.2.3