diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-10-07 10:58:22 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-10-07 10:58:22 -0500 |
commit | 01a0d943f4c985bfe924cbcdbcba1ae15615bf47 (patch) | |
tree | fa31ee5a9ffc8cc9d47805a24244f7bfeb5f0d7e | |
parent | f82d29b6aea2437b5d366d167710bf7897ca24f8 (diff) | |
download | ayatana-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.
-rw-r--r-- | src/notifier.c | 1 |
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); |