Re: Adding a signal for a connection removed



On Tue, Jun 3, 2008 at 5:58 AM, Christopher Blauvelt
<cblauvelt gmail com> wrote:
> What do you all think of having a signal on the service
> org.freedesktop.NetworkManagerSettings when a connection is removed instead
> of just added.  If the keeping the current naming convention is desired, the
> new signal could be called RemovedConnection.  If not, then ConnectionAdded
> and ConnectionRemoved sound more natural.

This functionality is already present in NM. The signal
'org.freedesktop.NetworkManagerSettings.NewConnection' is emitted when
a connection is created with an argument of the exported connection's
object path. Any changes to that connection are notified with the
signal 'org.freedesktop.NetworkManagerSettings.Connection.Updated' and
when the connection is removed, signal
'org.freedesktop.NetworkManagerSettings.Connection.Removed' is used.

Tambet


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]