diff options
Diffstat (limited to 'src/notifier.c')
-rw-r--r-- | src/notifier.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/notifier.c b/src/notifier.c index 07c5efa..cef8a3c 100644 --- a/src/notifier.c +++ b/src/notifier.c @@ -343,6 +343,10 @@ notification_show(IndicatorPowerNotifier * self) } } + 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); |