List known updates on startup
ClosedPublic

Authored by fvogt on Dec 26 2017, 3:12 PM.

Details

Summary

Currently it's possible that it just says "No updates available" although
PackageKit knows the opposite. This is because it doesn't even ask PK on
startup. With this, it always lists available updates, only refreshing
the cache if necessary.

Test Plan

Ran plasmoidviewer, now lists available updates instead of
"Your system is up to date".

Diff Detail

Repository
R623 Plasma PackageKit Updater
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
fvogt requested review of this revision.Dec 26 2017, 3:12 PM
fvogt created this revision.
fvogt added a comment.Dec 26 2017, 3:19 PM

Alternatively, if a possible notification on startup is unexpected, there could be a separate state for "not checked yet".

jgrulich accepted this revision.Jan 2 2018, 9:19 AM
This revision is now accepted and ready to land.Jan 2 2018, 9:19 AM
This revision was automatically updated to reflect the committed changes.