[gnome-settings-daemon/gnome-3-6] updates: If the offline-update was	successful don't require the user to click OK to clear the messag
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-settings-daemon/gnome-3-6] updates: If the offline-update was	successful don't require the user to click OK to clear the messag
- Date: Wed, 31 Oct 2012 16:48:58 +0000 (UTC)
commit 93626c1da4d8c9b51ccb4b25e58b58aa8894423f
Author: Richard Hughes <richard hughsie com>
Date:   Wed Oct 31 16:50:40 2012 +0000
    updates: If the offline-update was successful don't require the user to click OK to clear the message
    
    Long term we want to show the updates that were installed with a 'Review'
    button, but we need gnome-software (and a new set of mockups) for that.
 plugins/updates/gsd-updates-manager.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/updates/gsd-updates-manager.c b/plugins/updates/gsd-updates-manager.c
index 95ee1c4..0db5d92 100644
--- a/plugins/updates/gsd-updates-manager.c
+++ b/plugins/updates/gsd-updates-manager.c
@@ -1258,6 +1258,9 @@ 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]