54a1c34f6e
There is a straight mapping between running/enabled and visibility, so bind them instead of using a signal handler. _syncConnectivity() is called both from _syncMainConnection() and on connectivity changes, which should cover any running/enabled changes. That just leaves updating the icon on state changes. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2406>