[gnome-settings-daemon] 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] 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:21 +0000 (UTC)
commit adc154860553e40c2dede484a23406c95e0b5790
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 d6face2..0494a4b 100644
--- a/plugins/updates/gsd-updates-manager.c
+++ b/plugins/updates/gsd-updates-manager.c
@@ -1259,6 +1259,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]