Comment 3 for bug 351537

Revision history for this message
Ted Gould (ted) wrote : Re: [Bug 351537] Re: Client crash on second indicate_server_show

On Sat, 2009-04-04 at 18:43 +0000, James Westby wrote:
> Another option is to not unregister the object on hide(), and then only
> register it on show() if there was no previous show(). However, this
> leaves the hide() ineffectual it seems, with the server still showing
> up in the indicator.

James,

Thanks for the investigation! This is what I was thinking about doing,
glad to know it won't work ;)

So, I think for Jaunty we should make hide just send the hide signal,
but not remove the object from the bus. This isn't perfect, but most of
the clients today listen for the hide signal, so they'll effectively
disappear and not check for the object disappearing as well.

Not prefect, but we'll have to look at fixing DBus for the next
release :)

 Thanks,
  Ted