Re: How to set error prompt in NetworkManager when its vpn plugin connection is failed?



On Wed, 2008-03-19 at 17:47 +0800, Charles Li wrote:
> Hi,
> 
>  I used the openvpn plugin in NetworkManager and when connection
> failed, it don't prompt any error information.
> 
> I saw the openvpn plugin called 'nm_vpn_plugin_failure' api set the reason,
> 
> nm_vpn_plugin_failure (plugin, NM_VPN_PLUGIN_FAILURE_LOGIN_FAILED);
> 
>  So NM provide the features that prompt connect failed window in the
> right bottom of desktop when connection is failed?

Yes; NM 0.7 will signal the state of the VPN connection, which may be
failure.  There is also an reason code reported in that StateChanged
signal.  A user applet could interpret this reason code and report a
message to the user.

Dan




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