[packagekit] Sending RepoDetail after a RepoEnable

Richard Hughes hughsient at gmail.com
Wed Jul 15 05:25:29 PDT 2009


At the moment, the software sources client UI calls RepoEnable() and
gets back ::Finished(). The daemon then calls ::RepoListChanged(),
which forces the client to reload the list of repos, which then shows
the correct state.

What I propose is that RepoEnable is required to send a RepoDetail
signal of all the repositories that it has changed. This allows the
GUI to only listen for the RepoDetail asynchronous signal, and update
the one that changed, rather than the whole list. This allows us to
cope when enabling one "virtual" repo actually enables/disables a lot
more, without having flicker in the UI.

What do you guys think?

Richard.



More information about the PackageKit mailing list