NetworkManager r3756 - in trunk: . libnm-glib
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: NetworkManager r3756 - in trunk: . libnm-glib
- Date: Tue, 17 Jun 2008 10:43:33 +0000 (UTC)
Author: dcbw
Date: Tue Jun 17 10:43:33 2008
New Revision: 3756
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3756&view=rev
Log:
2008-06-17 Dan Williams <dcbw redhat com>
* 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
Modified:
trunk/ChangeLog
trunk/libnm-glib/nm-vpn-plugin-ui-interface.c
trunk/libnm-glib/nm-vpn-plugin-ui-interface.h
Modified: trunk/libnm-glib/nm-vpn-plugin-ui-interface.c
==============================================================================
--- trunk/libnm-glib/nm-vpn-plugin-ui-interface.c (original)
+++ trunk/libnm-glib/nm-vpn-plugin-ui-interface.c Tue Jun 17 10:43:33 2008
@@ -39,6 +39,13 @@
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",
"VPN Plugin D-Bus service name",
Modified: trunk/libnm-glib/nm-vpn-plugin-ui-interface.h
==============================================================================
--- trunk/libnm-glib/nm-vpn-plugin-ui-interface.h (original)
+++ trunk/libnm-glib/nm-vpn-plugin-ui-interface.h Tue Jun 17 10:43:33 2008
@@ -51,9 +51,12 @@
#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 @@
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]