diff --git a/vpn-daemons/pptp/properties/nm-ppp-dialog.glade b/vpn-daemons/pptp/properties/nm-ppp-dialog.glade index b74ba039e2..26b82a39b8 100644 --- a/vpn-daemons/pptp/properties/nm-ppp-dialog.glade +++ b/vpn-daemons/pptp/properties/nm-ppp-dialog.glade @@ -1091,7 +1091,7 @@ True True - True + False 4 @@ -1706,6 +1706,61 @@ + + + True + False + 12 + + + + True + _Custom PPP options: + True + False + GTK_JUSTIFY_LEFT + False + False + 1 + 0.5 + 0 + 0 + pptp-remote + + + 0 + False + False + + + + + + True + Host name or IP address of the PPTP server + True + True + True + 0 + + True + * + False + + + 0 + True + True + + + + + 0 + False + False + + + True diff --git a/vpn-daemons/pptp/properties/nm-ppp-properties.c b/vpn-daemons/pptp/properties/nm-ppp-properties.c index f926ba19c8..e3a3175e39 100644 --- a/vpn-daemons/pptp/properties/nm-ppp-properties.c +++ b/vpn-daemons/pptp/properties/nm-ppp-properties.c @@ -60,7 +60,8 @@ "lcp-echo-interval=10;" \ "use-routes=no;" \ "routes=;" \ - "ppp-debug=no;" + "ppp-debug=no;" \ + "ppp-extra='';" #define VPNUI_BTOOTH_DEFAULTS "bt-bdaddr=00:00:00:00:00:00;" \ "bt-channel=1;" #define VPNUI_GPRS_DEFAULTS "gprs-packet-type=IP;" \ @@ -233,6 +234,11 @@ impl_setup (NetworkManagerVpnUIImpl *impl) "ppp-connect-delay", "PPP-Connect-Delay", _("Interval (in milliseconds) to wait before connecting."), NULL, NULL, impl ); + opt = vpnui_opt_new( + "ppp-extra", VPN_UI_OPTTYPE_STRING, + "ppp-extra", "PPP-Custom-Options", _("Custom PPP options"), + GTK_SIGNAL_FUNC(&editable_changed), NULL, impl ); + opt = vpnui_opt_new( "ppp-debug" , VPN_UI_OPTTYPE_YESNO , "ppp-debug", NULL, NULL,