[gnome-software] Don't clear th offline update data early



commit c9c1a64ea88c8df1783a978e9b9dfcd70c44b437
Author: Richard Hughes <richard hughsie com>
Date:   Mon Dec 9 16:44:54 2013 +0000

    Don't clear th offline update data early
    
    This is the same as the g-s-d fix in gnome-3-10.

 src/gs-update-monitor.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/gs-update-monitor.c b/src/gs-update-monitor.c
index 385e70f..9f7b57d 100644
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@ -149,14 +149,11 @@ check_offline_update_cb (gpointer user_data)
                title = ngettext ("Software Update Installed",
                                  "Software Updates Installed",
                                  num_packages);
-                /* TRANSLATORS: message when we've done offline updates */
+               /* TRANSLATORS: message when we've done offline updates */
                message = ngettext ("An important OS update has been installed.",
                                    "Important OS updates have been installed.",
                                    num_packages);
-
-                gs_offline_updates_clear_status ();
-
-        } else {
+       } else {
 
                title = _("Software Updates Failed");
                /* TRANSLATORS: message when we offline updates have failed */


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