diff --git a/ChangeLog b/ChangeLog index d5a74c8923..ebc25c501d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-06-17 Dan Williams + + * libnm-glib/nm-vpn-plugin-ui-interface.c + libnm-glib/nm-vpn-plugin-ui-interface.h + - Add "desc" property for longer descriptions of the VPN plugin + 2008-06-16 Dan Williams * configure.in diff --git a/libnm-glib/nm-vpn-plugin-ui-interface.c b/libnm-glib/nm-vpn-plugin-ui-interface.c index a076ba073c..812d4197b9 100644 --- a/libnm-glib/nm-vpn-plugin-ui-interface.c +++ b/libnm-glib/nm-vpn-plugin-ui-interface.c @@ -38,6 +38,13 @@ interface_init (gpointer g_iface) NULL, G_PARAM_READABLE)); + g_object_interface_install_property (g_iface, + g_param_spec_string (NM_VPN_PLUGIN_UI_INTERFACE_DESC, + "Desc", + "VPN Plugin description", + NULL, + G_PARAM_READABLE)); + g_object_interface_install_property (g_iface, g_param_spec_string (NM_VPN_PLUGIN_UI_INTERFACE_SERVICE, "Service", diff --git a/libnm-glib/nm-vpn-plugin-ui-interface.h b/libnm-glib/nm-vpn-plugin-ui-interface.h index 55eddabba2..b1a5cfd091 100644 --- a/libnm-glib/nm-vpn-plugin-ui-interface.h +++ b/libnm-glib/nm-vpn-plugin-ui-interface.h @@ -51,9 +51,12 @@ NMVpnPluginUiInterface *nm_vpn_plugin_ui_factory (GError **error); #define NM_VPN_PLUGIN_UI_CAPABILITY_IMPORT 0x01 #define NM_VPN_PLUGIN_UI_CAPABILITY_EXPORT 0x02 -/* Display name of the VPN plugin */ +/* Short display name of the VPN plugin */ #define NM_VPN_PLUGIN_UI_INTERFACE_NAME "name" +/* Longer description of the the VPN plugin */ +#define NM_VPN_PLUGIN_UI_INTERFACE_DESC "desc" + /* D-Bus service name of the plugin's VPN service */ #define NM_VPN_PLUGIN_UI_INTERFACE_SERVICE "service" @@ -61,6 +64,7 @@ typedef enum { NM_VPN_PLUGIN_UI_INTERFACE_PROP_FIRST = 0x1000, NM_VPN_PLUGIN_UI_INTERFACE_PROP_NAME = NM_VPN_PLUGIN_UI_INTERFACE_PROP_FIRST, + NM_VPN_PLUGIN_UI_INTERFACE_PROP_DESC, NM_VPN_PLUGIN_UI_INTERFACE_PROP_SERVICE } NMVpnPluginUiInterfaceProp;