aboutsummaryrefslogtreecommitdiff
path: root/src/notifier.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-09-08 11:43:56 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-09-08 11:43:56 -0500
commitb06dda0e74e93e107b0be4158bd82ba1e8853bc4 (patch)
tree8db405f2e93d8111da0c71a3f26ac934b2f25d42 /src/notifier.c
parent0ab79aced178b97e878432be4e716f23b4520d09 (diff)
downloadayatana-indicator-power-b06dda0e74e93e107b0be4158bd82ba1e8853bc4.tar.gz
ayatana-indicator-power-b06dda0e74e93e107b0be4158bd82ba1e8853bc4.tar.bz2
ayatana-indicator-power-b06dda0e74e93e107b0be4158bd82ba1e8853bc4.zip
in notifier.c, reverse the order in which we add the actions so they'll look right on the phone
Diffstat (limited to 'src/notifier.c')
-rw-r--r--src/notifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notifier.c b/src/notifier.c
index 8242292..ed079e5 100644
--- a/src/notifier.c
+++ b/src/notifier.c
@@ -210,8 +210,8 @@ notification_show(IndicatorPowerNotifier * self)
notify_notification_set_hint(nn, "x-canonical-non-shaped-icon", g_variant_new_boolean(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, "settings", _("Battery settings"), on_battery_settings_clicked, NULL, NULL);
notify_notification_add_action(nn, "dismiss", _("OK"), on_dismiss_clicked, NULL, NULL);
+ notify_notification_add_action(nn, "settings", _("Battery settings"), on_battery_settings_clicked, NULL, NULL);
}
g_strfreev (icon_names);
g_free (body);