From 831b21bca8afb458cc33e878d8246a00f68e6dbd Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 16 Oct 2013 21:40:13 -0500 Subject: change ok/cancel buttons to the slightly-more-informative show/dismiss --- src/service.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/service.c') 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; -- cgit v1.2.3