aboutsummaryrefslogtreecommitdiff
path: root/src/notifier.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-05-16 11:04:46 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-05-16 11:06:49 +0200
commit394a06ba9f8ff0cc95bc7dba8fc626a3ea4aa9bd (patch)
tree6371a68dc395d4ad0fdfec107c08a58d88e96e9f /src/notifier.c
parent2a7ebff68f86a634c674076e7bc759156db6b94c (diff)
downloadayatana-indicator-power-394a06ba9f8ff0cc95bc7dba8fc626a3ea4aa9bd.tar.gz
ayatana-indicator-power-394a06ba9f8ff0cc95bc7dba8fc626a3ea4aa9bd.tar.bz2
ayatana-indicator-power-394a06ba9f8ff0cc95bc7dba8fc626a3ea4aa9bd.zip
Fixup previous commit. More x-canonical-* type changes.
Diffstat (limited to 'src/notifier.c')
-rw-r--r--src/notifier.c8
1 files changed, 4 insertions, 4 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);
}