aboutsummaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-10-16 21:40:13 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-10-16 21:40:13 -0500
commit831b21bca8afb458cc33e878d8246a00f68e6dbd (patch)
tree1d338ac7c846d4260e2ae9377c2b7b7b7cf4a62a /src/service.c
parent057066be640199a41e166343852f523f97e3c5d3 (diff)
downloadayatana-indicator-datetime-831b21bca8afb458cc33e878d8246a00f68e6dbd.tar.gz
ayatana-indicator-datetime-831b21bca8afb458cc33e878d8246a00f68e6dbd.tar.bz2
ayatana-indicator-datetime-831b21bca8afb458cc33e878d8246a00f68e6dbd.zip
change ok/cancel buttons to the slightly-more-informative show/dismiss
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/service.c b/src/service.c
index e83410e..9c30310 100644
--- a/src/service.c
+++ b/src/service.c
@@ -451,7 +451,7 @@ on_snap_decided (NotifyNotification * notification G_GNUC_UNUSED,
{
g_debug ("%s: %s", G_STRFUNC, action);
- if (!g_strcmp0 (action, "ok"))
+ if (!g_strcmp0 (action, "show"))
{
const gchar * url = gurl;
g_debug ("dispatching url '%s'", url);
@@ -478,9 +478,9 @@ show_snap_decision_for_alarm (const struct IndicatorDatetimeAppt * appt)
nn = notify_notification_new (title, body, icon_name);
notify_notification_set_hint (nn, "x-canonical-snap-decisions",
g_variant_new_boolean(TRUE));
- notify_notification_add_action (nn, "ok", _("OK"),
+ notify_notification_add_action (nn, "show", _("Show"),
on_snap_decided, g_strdup(appt->url), g_free);
- notify_notification_add_action (nn, "cancel", _("Cancel"),
+ notify_notification_add_action (nn, "dismiss", _("Dismiss"),
on_snap_decided, NULL, NULL);
error = NULL;