[NetworkManager-fortisslvpn] editor: fix realm read-out
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [NetworkManager-fortisslvpn] editor: fix realm read-out
- Date: Wed, 20 Mar 2019 20:49:26 +0000 (UTC)
commit 9e66fc6a3676bbc02f421d743ccc31334a85d19c
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Wed Mar 20 21:48:52 2019 +0100
editor: fix realm read-out
Fixes: 47e6e0d495a9bda801a33235592c3301e6cfa699
properties/nm-fortisslvpn-editor.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/properties/nm-fortisslvpn-editor.c b/properties/nm-fortisslvpn-editor.c
index 8c31c9d..b55a167 100644
--- a/properties/nm-fortisslvpn-editor.c
+++ b/properties/nm-fortisslvpn-editor.c
@@ -239,14 +239,17 @@ init_editor_plugin (FortisslvpnEditor *self, NMConnection *connection, GError **
widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "trusted_cert_entry"));
g_return_val_if_fail (widget, FALSE);
-
if (s_vpn) {
priv->trusted_cert = g_strdup (nm_setting_vpn_get_data_item (s_vpn,
NM_FORTISSLVPN_KEY_TRUSTED_CERT));
if (!priv->trusted_cert)
priv->trusted_cert = g_strdup ("");
gtk_entry_set_text (GTK_ENTRY (widget), priv->trusted_cert);
+ }
+ widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "realm_entry"));
+ g_return_val_if_fail (widget, FALSE);
+ if (s_vpn) {
priv->realm = g_strdup (nm_setting_vpn_get_data_item (s_vpn,
NM_FORTISSLVPN_KEY_REALM));
if (!priv->realm)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]