[gnome-software/wip/ubuntu-zesty: 10/13] Disable "Software Updates	Available" notification
- From: Jeremy Bicha <jbicha src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnome-software/wip/ubuntu-zesty: 10/13] Disable "Software Updates	Available" notification
 
- Date: Wed, 21 Dec 2016 16:31:34 +0000 (UTC)
 
commit b9fd938bc9a7ffcc68182dddfc77d7d8c03ec5a9
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]