aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-10-16 21:41:28 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-10-16 21:41:28 -0500
commit05c1039f4b9f0014371bb767089755317ea2d322 (patch)
tree75e9f1ed2c39bd4135ca314591c0d225eaf9a4a1 /src
parent831b21bca8afb458cc33e878d8246a00f68e6dbd (diff)
downloadayatana-indicator-datetime-05c1039f4b9f0014371bb767089755317ea2d322.tar.gz
ayatana-indicator-datetime-05c1039f4b9f0014371bb767089755317ea2d322.tar.bz2
ayatana-indicator-datetime-05c1039f4b9f0014371bb767089755317ea2d322.zip
in the alarm snap decision, add x-canonical-private-button-tint hint to highlight the 'Show' button
Diffstat (limited to 'src')
-rw-r--r--src/service.c8
1 files changed, 6 insertions, 2 deletions
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"),