From 2b3772ab5af8705a5418170c8b8cd1ff83873483 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Tue, 9 Nov 2021 01:24:26 +0100 Subject: Rename Lomiri-specific properties to x-lomiri --- src/notifier.c | 8 ++++---- tests/test-notify.cc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/notifier.c b/src/notifier.c index 4bd55c1..c5b6eb1 100644 --- a/src/notifier.c +++ b/src/notifier.c @@ -326,10 +326,10 @@ notification_show(IndicatorPowerNotifier * self) } } - notify_notification_set_hint(nn, "x-ayatana-snap-decisions", g_variant_new_string("true")); - notify_notification_set_hint(nn, "x-ayatana-non-shaped-icon", g_variant_new_string("true")); - notify_notification_set_hint(nn, "x-ayatana-private-affirmative-tint", g_variant_new_string("true")); - notify_notification_set_hint(nn, "x-ayatana-snap-decisions-timeout", g_variant_new_int32(INT32_MAX)); + notify_notification_set_hint(nn, "x-lomiri-snap-decisions", g_variant_new_string("true")); + notify_notification_set_hint(nn, "x-lomiri-non-shaped-icon", g_variant_new_string("true")); + notify_notification_set_hint(nn, "x-lomiri-private-affirmative-tint", g_variant_new_string("true")); + notify_notification_set_hint(nn, "x-lomiri-snap-decisions-timeout", g_variant_new_int32(INT32_MAX)); notify_notification_set_timeout(nn, NOTIFY_EXPIRES_NEVER); notify_notification_add_action(nn, "dismiss", _("OK"), on_dismiss_clicked, NULL, NULL); notify_notification_add_action(nn, "settings", _("Battery settings"), on_battery_settings_clicked, NULL, NULL); diff --git a/tests/test-notify.cc b/tests/test-notify.cc index c6eefa6..eebd8c4 100644 --- a/tests/test-notify.cc +++ b/tests/test-notify.cc @@ -69,7 +69,7 @@ protected: static constexpr char const * METHOD_GET_INFO {"GetServerInformation"}; static constexpr char const * SIGNAL_CLOSED {"NotificationClosed"}; - static constexpr char const * HINT_TIMEOUT {"x-ayatana-snap-decisions-timeout"}; + static constexpr char const * HINT_TIMEOUT {"x-lomiri-snap-decisions-timeout"}; protected: -- cgit v1.2.3