Re: Detect new available names in bus

Sergio Costas <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <[email protected]>
Hi:

El 15/2/22 a las 14:36, Thomas Kluyver escribió:
>  From my reading of the spec it makes sense that NameOwnerChanged is only triggered when an application actually runs, connects to D-Bus and claims the name. 'Owner' seems to refer to a D-Bus connection (see e.g. the description of GetNameOwner). So registering a name for activation is not sufficient to 'own' it. On my system, NameHasOwner is True only for names with an active connection, though this is different from what Sergio said in his original message.
Mmm... odd... I did some extra tests and you are right: 'NameHasOwner' 
only returns True if the service is running. Probably I missed an 
instance of File-roller while doing my tests.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.