From 456cbf253801b2d7536d790a034c9b44d910a5a9 Mon Sep 17 00:00:00 2001 From: Ratchanan Srirattanamet Date: Tue, 17 Jan 2023 10:52:54 +0000 Subject: src/, tests/: update references to renamed notification hints More notification hints have been renamed. So update to follow it. - x-canonical-private-synchronous -> x-lomiri-private-synchronous - x-canonical-private-icon-only -> x-lomiri-private-icon-only - x-canonical-truncation -> x-lomiri-truncation (which Lomiri has compatibility with the former name, so keep in the mocked capabilities) --- tests/notifications-mock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/notifications-mock.h') diff --git a/tests/notifications-mock.h b/tests/notifications-mock.h index 49b2e66..ad042d2 100644 --- a/tests/notifications-mock.h +++ b/tests/notifications-mock.h @@ -31,7 +31,7 @@ class NotificationsMock DbusTestDbusMockObject * baseobj = nullptr; public: - NotificationsMock (const std::vector& capabilities = {"actions", "body", "body-markup", "icon-static", "image/svg+xml", "x-canonical-private-synchronous", "x-canonical-append", "x-canonical-private-icon-only", "x-canonical-truncation", "private-synchronous", "append", "private-icon-only", "truncation"}) { + NotificationsMock (const std::vector& capabilities = {"actions", "body", "body-markup", "icon-static", "image/svg+xml", "x-lomiri-private-synchronous", "x-canonical-append", "x-lomiri-private-icon-only", "x-lomiri-truncation", "x-canonical-truncation", "private-synchronous", "append", "private-icon-only", "truncation"}) { mock = dbus_test_dbus_mock_new("org.freedesktop.Notifications"); dbus_test_task_set_bus(DBUS_TEST_TASK(mock), DBUS_TEST_SERVICE_BUS_SESSION); dbus_test_task_set_name(DBUS_TEST_TASK(mock), "Notify"); -- cgit v1.2.3