Le jeudi 12 janvier 2012 à 19:01 -0600, Dan Williams a écrit :
> >
> > conn = Bus.get_proxy_sync(BusType.SYSTEM,
> > "org.freedesktop.NetworkManager.Settings.Connection",
> > "/org/freedesktop/NetworkManager/Settings/15");
>
> Here's the problem: you still need to use the NetworkManager dbus
On Thu, 2012-01-12 at 16:35 +0100, Florent Thévenet wrote:
> Hi everyone,
>
> I'm writing a program to change the evolution smtp server according to
> the network I'm connected to, implemented in Vala
>
> The simpler solution I found to talk to networkmanager is over dbus,
> here is the code I us
Hi everyone,
I'm writing a program to change the evolution smtp server according to
the network I'm connected to, implemented in Vala
The simpler solution I found to talk to networkmanager is over dbus,
here is the code I use:
"""
[DBus (name = "org.freedesktop.NetworkManager")]
interface Networ