2010/5/5 Jirka Klimes <[email protected]>

> On Wednesday 05 of May 2010 11:28:11 Pablo Martí Gamboa wrote:
> > On 5 May 2010 10:53, Jirka Klimes <[email protected]> wrote:
> > > On Thursday 06 of May 2010 07:39:07 Nguyen Canh Toan wrote:
> > > > Hi all,
> > > >
> > > >
> > > >
> > > > Currently, I have a purpose of programmatically add & remove
> connection
> > > > configuration through DBus interface
> > > > org.freedesktop.NetworkManagerSettings.Connection.
> > > >
> > > > I found an API Delete() on
> > > > org.freedesktop.NetworkManagerSettings.Connection but I can't find
> what
> > > > function stuff to create new connection.
> > > >
> > > >
> > > >
> > > > Did anyone experience with this issue? Could you please to share it
> to
> > >
> > > me?
> > >
> > > > Thanks,
> > > >
> > > > Toan Nguyen
> > >
> > > You search for AddConnection() method of
> > > org.freedesktop.NetworkManagerSettings interface.
> > >
> > > For a simple python example see:
> > >
> > >
> http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/examples/p
> > > ython/add-
> > > system-connection.py<
> http://cgit.freedesktop.org/NetworkManager/NetworkM
> > > anager/tree/examples/python/add-%0Asystem-connection.py>
> > >
> > > More complex example can be found here:
> > > http://markmail.org/message/2xfwvjqjovu4fk2j
> > >
> > > For specification of settings parameters
> > > see:
> > >
> http://projects.gnome.org/NetworkManager/developers/settings-spec-08.html
> >
> > Wow, I didn't know about this one, thought that gconf was the only was to
> > edit the connection. When was this added?
>
> It's been there for some time now.
> The commit is 0d69dfe39ef61b42b2024c7fbd8bbad9e9c6d164 from 23.7.2009.
>

Thanks for the info!


-- 
Pablo Martí
http://minimoesfuerzo.org
python -c "print '706d617267616d40676d61696c2e636f6d'.decode('hex')"
_______________________________________________
networkmanager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to