[packagekit] Res: Res: restart-schedule

Richard Hughes hughsient at gmail.com
Sun Aug 24 02:21:45 PDT 2008


On Sat, 2008-08-23 at 19:52 -0700, dantti85-pk at yahoo.com.br wrote:
> ok, but from where do you get this tid? is it valid?
> i mean if i receive the restart signal i don't have a tid
> so i can't get the role.

Yes, when you get the restart signal the signal is emitted on the
interface. For instance:

[hughsie at hughsie-work ~]$ dbus-monitor --system
...
signal sender=:1.25237 -> dest=(null destination) path=/org/freedesktop/PackageKit; interface=org.freedesktop.PackageKit; member=TransactionListChanged
   array [
      string "/135_acdaecac_data"
   ]
signal sender=:1.25237 -> dest=(null destination) path=/135_acdaecac_data; interface=org.freedesktop.PackageKit.Transaction; member=StatusChanged
   string "running"
signal sender=:1.25237 -> dest=(null destination) path=/135_acdaecac_data; interface=org.freedesktop.PackageKit.Transaction; member=StatusChanged
   string "download"
signal sender=:1.25237 -> dest=(null destination) path=/135_acdaecac_data; interface=org.freedesktop.PackageKit.Transaction; member=AllowCancel
   boolean true
signal sender=:1.25237 -> dest=(null destination) path=/135_acdaecac_data; interface=org.freedesktop.PackageKit.Transaction; member=RequireRestart
   string "system"
   string ""
...

> btw did you saw the accept eula email?

Just replied. It's a busy weekend.

Richard.






More information about the PackageKit mailing list