[packagekit] API change/clarification: RequireRestart

James Westby jw+debian at jameswestby.net
Thu Jan 15 07:42:18 PST 2009


On Thu, 2009-01-15 at 15:12 +0000, Richard Hughes wrote:
> On Thu, 2009-01-15 at 15:08 +0000, James Westby wrote:
> > Should it be an array? Multiple updates can trigger reboot notifications
> > in one run, and if you have to pick a single one and it is something the
> > user doesn't care about then they may miss an important restart.
> 
> In this case I think it's okay to emit RequireRestart more than once, as
> the packages are individually installed. The notification icon and
> libnotify bubble are only shown at the end of the transaction.

So the frontend would collect them and show them in whatever way it 
deemed sensible? That sounds fine to me.

Thanks,

James




More information about the PackageKit mailing list