• Thomas Haller's avatar
    libnm: always return VPN connections's banner · 576cbb77
    Thomas Haller authored
    It's not libnm's responsibility to hide the banner
    depending on the VPN state. libnm should cache and expose
    NetworkManager's state, and if the VPN connection has
    a banner there, it should be returned.
    The previous behavior was since ever in libnm, and in libnm-glib since
    the banner was introduced in commit e5b834c1.
    I think it's wrong if libnm tries too hard putting additional logic
    on top of what is on D-Bus.
nm-vpn-connection.c 6.42 KB