[gnome-software/wip/ubuntu-3-22: 2/6] Disable "Software Updates Available" notification
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/ubuntu-3-22: 2/6] Disable "Software Updates Available" notification
- Date: Tue, 14 Mar 2017 13:57:31 +0000 (UTC)
commit 9d0bdd6d604cea50a9ce898f10a13b6f411a3bfa
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]