[gnome-software/wip/ubuntu-3-22: 9/17] Disable "Software Updates Available" notification



commit 3352250c5d35801d6d1c1a737c83ad44064b0fba
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]