From 05c1039f4b9f0014371bb767089755317ea2d322 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 16 Oct 2013 21:41:28 -0500 Subject: in the alarm snap decision, add x-canonical-private-button-tint hint to highlight the 'Show' button --- src/service.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/service.c b/src/service.c index 9c30310..e42b689 100644 --- a/src/service.c +++ b/src/service.c @@ -476,8 +476,12 @@ show_snap_decision_for_alarm (const struct IndicatorDatetimeAppt * appt) title, body, icon_name); nn = notify_notification_new (title, body, icon_name); - notify_notification_set_hint (nn, "x-canonical-snap-decisions", - g_variant_new_boolean(TRUE)); + notify_notification_set_hint_string (nn, + "x-canonical-snap-decisions", + "true"); + notify_notification_set_hint_string (nn, + "x-canonical-private-button-tint", + "true"); notify_notification_add_action (nn, "show", _("Show"), on_snap_decided, g_strdup(appt->url), g_free); notify_notification_add_action (nn, "dismiss", _("Dismiss"), -- cgit v1.2.3