[network-manager-applet/th/vpn-service-info-bgo767197: 1/8] c-e: log info message when successfully loading VPN plugin
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/th/vpn-service-info-bgo767197: 1/8] c-e: log info message when successfully loading VPN plugin
- Date: Mon, 13 Jun 2016 08:31:33 +0000 (UTC)
commit 3ac81bb8fc1a30558b7542783b12dd5d80635139
Author: Thomas Haller <thaller redhat com>
Date: Wed Jun 8 02:08:30 2016 +0200
c-e: log info message when successfully loading VPN plugin
g_info() is disabled unless setting G_MESSAGES_DEBUG=all.
src/connection-editor/vpn-helpers.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/connection-editor/vpn-helpers.c b/src/connection-editor/vpn-helpers.c
index 35823c7..0fd3f98 100644
--- a/src/connection-editor/vpn-helpers.c
+++ b/src/connection-editor/vpn-helpers.c
@@ -64,9 +64,12 @@ vpn_get_plugins (void)
/* load the editor plugin, and preserve only those NMVpnPluginInfo that can
* successfully load the plugin. */
- if (nm_vpn_plugin_info_load_editor_plugin (plugin_info, &error))
+ if (nm_vpn_plugin_info_load_editor_plugin (plugin_info, &error)) {
plugins = g_slist_prepend (plugins, plugin_info);
- else {
+ g_info ("vpn: (%s,%s) loaded",
+ nm_vpn_plugin_info_get_name (plugin_info),
+ nm_vpn_plugin_info_get_filename (plugin_info));
+ } else {
if ( !nm_vpn_plugin_info_get_plugin (plugin_info)
&& nm_vpn_plugin_info_lookup_property (plugin_info,
NM_VPN_PLUGIN_INFO_KF_GROUP_GNOME, "properties")) {
g_message ("vpn: (%s,%s) cannot load legacy-only plugin",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]