summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2013-11-25 14:35:07 +0000
committerRichard Hughes <richard@hughsie.com>2013-11-25 14:40:19 +0000
commit414b757cb95c1fae1ae1130f5d71559c3ef4d3b5 (patch)
treebe91f86ed3cc6564711cefe382af242b100dbd70
parent24603f0b42a30ba68d44736e9be825f87fabac01 (diff)
downloadgnome-settings-daemon-414b757cb95c1fae1ae1130f5d71559c3ef4d3b5.tar.gz
updates: Remove the unconditional clearing of the offline updates message
The offline updates status file needs to be around for the failed text and also if we're using gnome-software to review the changed updates. We're already removing it in the callback even for the non-gnome-software case.
-rw-r--r--plugins/updates/gsd-updates-manager.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/updates/gsd-updates-manager.c b/plugins/updates/gsd-updates-manager.c
index 9c4d3f15..aefb314a 100644
--- a/plugins/updates/gsd-updates-manager.c
+++ b/plugins/updates/gsd-updates-manager.c
@@ -1270,9 +1270,6 @@ check_offline_update_cb (gpointer user_data)
message = ngettext ("An important OS update has been installed.",
"Important OS updates have been installed.",
num_packages);
-
- /* no need to keep the file around anymore */
- clear_offline_updates_message ();
} else {
/* get error details */
manager->priv->offline_update_error = pk_error_new ();