network: add integrated "Add New Connection"
New VPN connections are created within the control center; other types currently hit the nm-connection-editor fallback. https://bugzilla.gnome.org/show_bug.cgi?id=674498
This commit is contained in:
parent
184b94908e
commit
8a52138cf6
5 changed files with 476 additions and 97 deletions
|
@ -34,8 +34,8 @@ GHashTable *vpn_get_plugins (GError **error);
|
|||
|
||||
NMVpnPluginUiInterface *vpn_get_plugin_by_service (const char *service);
|
||||
|
||||
typedef void (*VpnImportSuccessCallback) (NMConnection *connection, gpointer user_data);
|
||||
void vpn_import (VpnImportSuccessCallback callback, gpointer user_data);
|
||||
typedef void (*VpnImportCallback) (NMConnection *connection, gpointer user_data);
|
||||
void vpn_import (GtkWindow *parent, VpnImportCallback callback, gpointer user_data);
|
||||
|
||||
void vpn_export (NMConnection *connection);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue