aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/notifier.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notifier.c b/src/notifier.c
index 1767146..1881649 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -216,8 +216,8 @@ notification_show(IndicatorPowerNotifier * self)
if (actions_supported)
{
- notify_notification_set_hint(nn, "x-canonical-snap-decisions", g_variant_new_boolean(TRUE));
- notify_notification_set_hint(nn, "x-canonical-non-shaped-icon", g_variant_new_boolean(TRUE));
+ 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-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);