[gnome-software/wip/ubuntu-3-22: 9/17] Disable "Software Updates Available" notification
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/ubuntu-3-22: 9/17] Disable "Software Updates Available" notification
- Date: Tue, 23 May 2017 10:24:36 +0000 (UTC)
commit 38716a9f0bc4234508ed79893f70c7f577618a88
Author: William Hua <william hua canonical com>
Date: Tue Nov 8 11:26:24 2016 +1300
Disable "Software Updates Available" notification
src/gs-update-monitor.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-update-monitor.c b/src/gs-update-monitor.c
index 016341a..f85aff6 100644
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@ -94,7 +94,7 @@ notify_offline_update_available (GsUpdateMonitor *monitor)
g_notification_add_button (n, _("Restart & Install"), "app.reboot-and-install");
g_notification_set_default_action_and_target (n, "app.set-mode", "s", "updates");
g_application_send_notification (monitor->application, "updates-available", n);
- } else {
+ }/* else {
title = _("Software Updates Available");
body = _("Important OS and application updates are ready to be installed");
n = g_notification_new (title);
@@ -103,7 +103,7 @@ notify_offline_update_available (GsUpdateMonitor *monitor)
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);
- }
+ }*/
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]