aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-10-09 13:41:50 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-10-09 13:41:50 +0000
commit10101c23dd2d894a88ccbdaa11e6de4e73780c77 (patch)
treefa31ee5a9ffc8cc9d47805a24244f7bfeb5f0d7e /src
parentc73b4b9321251c270613ddfc8d2ba2276ca115c0 (diff)
parent01a0d943f4c985bfe924cbcdbcba1ae15615bf47 (diff)
downloadayatana-indicator-power-10101c23dd2d894a88ccbdaa11e6de4e73780c77.tar.gz
ayatana-indicator-power-10101c23dd2d894a88ccbdaa11e6de4e73780c77.tar.bz2
ayatana-indicator-power-10101c23dd2d894a88ccbdaa11e6de4e73780c77.zip
Remove the border around the icon when showing a low battery notification. Fixes: 1378411
Approved by: Antti Kaijanmäki, PS Jenkins bot
Diffstat (limited to 'src')
-rw-r--r--src/notifier.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/notifier.c b/src/notifier.c
index 1767146..993e332 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -216,8 +216,9 @@ 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-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);