panels: Fix build with NetworkManager disabled
Gentoo allows the user to disable NetworkManager integration at build time.
We use the existing HAVE_NETWORK_MANAGER
preprocessor macro to guard
the uses of the mobile_switch_changed_cb
and wifi_switch_changed_cb
functions that guard their definitions.
Bug: https://bugs.gentoo.org/783144
Closes: #1335 (closed)
Edited by Maxim Britov