Commit 52034ba0 authored by Benjamin Berg's avatar Benjamin Berg

network: Update VPN title when the connection is changed

When the connection is modified then the title might be changed. Call
the UI update function to ensure that widgets are updated.
parent a51dbcd8
......@@ -51,6 +51,8 @@ enum {
static void nm_device_refresh_vpn_ui (NetVpn *vpn);
net_vpn_set_show_separator (NetVpn *self,
gboolean show_separator)
......@@ -66,6 +68,7 @@ connection_changed_cb (NMConnection *connection,
NetVpn *vpn)
net_object_emit_changed (NET_OBJECT (vpn));
nm_device_refresh_vpn_ui (vpn);
static void
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment