[gnome-software/wip/rancell/ubuntu-3-20-rebase: 18/62] trivial: Send notification only once
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/rancell/ubuntu-3-20-rebase: 18/62] trivial: Send notification only once
- Date: Sat, 17 Jun 2017 10:00:26 +0000 (UTC)
commit 94305103559a6227698bc15a131a636a815a3f3f
Author: William Hua <william hua canonical com>
Date: Fri May 20 14:17:27 2016 -0400
trivial: Send notification only once
src/gs-update-monitor.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-update-monitor.c b/src/gs-update-monitor.c
index a37c13c..fddf25d 100644
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@ -428,7 +428,6 @@ get_updates_historical_cb (GObject *object, GAsyncResult *res, gpointer data)
notification = g_notification_new (_("Software Updates Failed"));
/* TRANSLATORS: message when we offline updates have failed */
g_notification_set_body (notification, _("An important OS update failed to be
installed."));
- g_application_send_notification (monitor->application, "offline-updates",
notification);
g_notification_add_button (notification, _("Show Details"),
"app.show-offline-update-error");
g_notification_set_default_action (notification, "app.show-offline-update-error");
g_application_send_notification (monitor->application, "offline-updates",
notification);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]