[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-dbus
Subject: Re: Detect new available names in bus
From: Sergio Costas <rastersoft () gmail ! com>
Date: 2022-02-15 15:27:09
Message-ID: eb8db42d-c9bf-da59-6853-adb2bf823b60 () gmail ! com
[Download RAW message or body]
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.
--
Nos leemos
RASTER (Linux user #228804)
rastersoft@gmail.com https://www.rastersoft.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic