net-vpn: Set GtkListBoxRow to changed on changes

The VPN list is sorted, but this sorting does not get updated when
changing any VPN name.

Make sure sorting gets retriggered by calling `gtk_list_box_row_changed()`
when updating the row contents.
This commit is contained in:
Matthijs Velsink 2024-04-02 00:34:33 +02:00
parent 8a7f2b233e
commit d87135be0e

View file

@ -105,6 +105,8 @@ nm_device_refresh_vpn_ui (NetVpn *self)
state != NM_VPN_CONNECTION_STATE_FAILED &&
state != NM_VPN_CONNECTION_STATE_DISCONNECTED);
self->updating_device = FALSE;
gtk_list_box_row_changed (GTK_LIST_BOX_ROW (self));
}
static void