GNOME Bugzilla – Bug 728000
Avoid reshowing the installed update notification at each login
Last modified: 2014-04-11 12:35:47 UTC
16:55 < mclasen> hughsie, kalev: one thing I didn't sort out before the .92 gnome-software release 16:56 < mclasen> is who is responsible for clearing the update information in the non-error case 16:56 < mclasen> as things are right now, we never remove the file, and if you restart gnome-software, you keep getting notified about 'just installed' updates
Created attachment 274048 [details] [review] update monitor: Split out a function
Created attachment 274049 [details] [review] update monitor: Set install-timestamp in a single place Instead of setting it both when triggering an offline update and after the reboot, only do the latter. This makes sure we have one code path no matter if it was gnome-software or gnome-shell triggering the update.
Created attachment 274050 [details] [review] update monitor: Only show installed update notification once We don't need to nag the user to review installed updates; if they choose to dismiss the notification, respect that and avoid reshowing it again at next login.
Attachment 274048 [details] pushed as 317be79 - update monitor: Split out a function Attachment 274049 [details] pushed as 0278959 - update monitor: Set install-timestamp in a single place Attachment 274050 [details] pushed as b4b01e8 - update monitor: Only show installed update notification once