aboutsummaryrefslogtreecommitdiff
path: root/src/notifier.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-10-07 10:58:22 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-10-07 10:58:22 -0500
commit01a0d943f4c985bfe924cbcdbcba1ae15615bf47 (patch)
treefa31ee5a9ffc8cc9d47805a24244f7bfeb5f0d7e /src/notifier.c
parentf82d29b6aea2437b5d366d167710bf7897ca24f8 (diff)
downloadayatana-indicator-power-01a0d943f4c985bfe924cbcdbcba1ae15615bf47.tar.gz
ayatana-indicator-power-01a0d943f4c985bfe924cbcdbcba1ae15615bf47.tar.bz2
ayatana-indicator-power-01a0d943f4c985bfe924cbcdbcba1ae15615bf47.zip
confirmation buttons should be green, so add the 'affirmative-tint' hint for the OK button.
Diffstat (limited to 'src/notifier.c')
-rw-r--r--src/notifier.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/notifier.c b/src/notifier.c
index 1881649..993e332 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -218,6 +218,7 @@ notification_show(IndicatorPowerNotifier * self)
{
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);