mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 00:38:07 +02:00
vpn-connection: notify the object of banner change
Otherwise the D-Bus clients won't notice the banner has been set.
This commit is contained in:
parent
9bc7b295a4
commit
1057e30dc8
1 changed files with 3 additions and 1 deletions
|
|
@ -1267,8 +1267,10 @@ process_generic_config (NMVpnConnection *self, GVariant *dict)
|
|||
}
|
||||
|
||||
g_clear_pointer (&priv->banner, g_free);
|
||||
if (g_variant_lookup (dict, NM_VPN_PLUGIN_CONFIG_BANNER, "&s", &str))
|
||||
if (g_variant_lookup (dict, NM_VPN_PLUGIN_CONFIG_BANNER, "&s", &str)) {
|
||||
priv->banner = g_strdup (str);
|
||||
g_object_notify (G_OBJECT (self), NM_VPN_CONNECTION_BANNER);
|
||||
}
|
||||
|
||||
/* External world-visible address of the VPN server */
|
||||
priv->ip4_external_gw = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue