[gnome-settings-daemon] updates: Remove the unconditional clearing of the offline updates message



commit 414b757cb95c1fae1ae1130f5d71559c3ef4d3b5
Author: Richard Hughes <richard hughsie com>
Date:   Mon Nov 25 14:35:07 2013 +0000

    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.

 plugins/updates/gsd-updates-manager.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/plugins/updates/gsd-updates-manager.c b/plugins/updates/gsd-updates-manager.c
index 9c4d3f1..aefb314 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 ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]