aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/notifier.c8
-rw-r--r--tests/test-notify.cc2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/notifier.c b/src/notifier.c
index 8a799f4..350562e 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -234,10 +234,10 @@ notification_show(IndicatorPowerNotifier * self)
if (are_actions_supported(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-canonical-snap-decisions", g_variant_new_string("true"));
+ notify_notification_set_hint(nn, "x-canonical-non-shaped-icon", g_variant_new_string("true"));
+ notify_notification_set_hint(nn, "x-canonical-private-affirmative-tint", g_variant_new_string("true"));
+ notify_notification_set_hint(nn, "x-canonical-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);
}
diff --git a/tests/test-notify.cc b/tests/test-notify.cc
index f8a5517..a7e2beb 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-canonical-snap-decisions-timeout"};
protected: