at-spi-bus-launcher: session management fixes
authorMike Gorse <mgorse@suse.com>
Thu, 14 Jul 2016 16:38:25 +0000 (11:38 -0500)
committerMike Gorse <mgorse@suse.com>
Thu, 14 Jul 2016 16:38:25 +0000 (11:38 -0500)
commit253ada975e0a374e7b1a6a07d2a483dd1d8c52fa
tree40b0483f7eb3d44aa8d65a79f08a80ca7e5f0451
parenta61ec0f6086b81fc9c9d811d48069228ac9c5f34
at-spi-bus-launcher: session management fixes

At-spi-bus-launcher was attempting to register with gnome-session but
typically failed because it was started before gnome-session is initialized.
Now we check whether gnome-session is running and only attempt to register
if it is; otherwise watch for SessionRunning and register when se wee it.

Also, handle SessionOver.
bus/at-spi-bus-launcher.c