[gnome-software/wip/rancell/ubuntu-3-20-5: 34/38] Disable "Software Updates Available" notification
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/rancell/ubuntu-3-20-5: 34/38] Disable "Software Updates Available" notification
- Date: Sat, 17 Jun 2017 12:33:28 +0000 (UTC)
commit 9f0d7ea645ebae156d94336e1347691e219aa6ec
Author: William Hua <william hua canonical com>
Date: Tue Jun 14 12:27:25 2016 -0400
Disable "Software Updates Available" notification
src/gs-update-monitor.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/gs-update-monitor.c b/src/gs-update-monitor.c
index 86ef060..9abac85 100644
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@ -95,17 +95,6 @@ notify_offline_update_available (GsUpdateMonitor *monitor)
g_notification_set_default_action_and_target (n, "app.set-mode", "s", "updates");
}
g_application_send_notification (monitor->application, "updates-available", n);
- } else {
- title = _("Software Updates Available");
- body = _("Important OS and application updates are ready to be installed");
- n = g_notification_new (title);
- g_notification_set_body (n, body);
- if (!gs_utils_is_current_desktop ("Unity")) {
- g_notification_add_button (n, _("Not Now"), "app.nop");
- g_notification_add_button_with_target (n, _("View"), "app.set-mode", "s", "updates");
- g_notification_set_default_action_and_target (n, "app.set-mode", "s", "updates");
- }
- g_application_send_notification (monitor->application, "updates-available", n);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]