Stop calling nm-connection-editor
There are a few places in the network and bluetooth settings where nm-connection editor is called. This is painful when it comes to distribution, and results in special handling of nm-connection-editor. In Fedora (and presumably elsewhere), the current solution is to install nm-connection-editor by default and hide the launcher. This predictably leads to complaints from those who want it be visible.
Depending on a utility which should really behave like a standard app (optional install, visible launcher) isn't great practice. It would be good to sever the connection (no pun intended).
A good first step would be to work out where nm-connection-editor is called from, and where these links appear in the UI. As a starting point:
git grep nm-connection-editor
panels/network/connection-editor/net-connection-editor.c: cmdline = g_strdup_printf ("nm-connection-editor --type='%s' --create", type);
panels/network/connection-editor/net-connection-editor.c: cmdline = g_strdup_printf ("nm-connection-editor --edit='%s'",
panels/network/net-device-bluetooth.c: path = g_find_program_in_path ("nm-connection-editor");
panels/network/net-device-bluetooth.c: cmdline = g_strdup_printf ("nm-connection-editor --edit %s", uuid);
panels/network/net-device-bluetooth.c: g_warning ("Failed to launch nm-connection-editor: %s", error->message);
panels/network/net-device-bluetooth.c: path = g_find_program_in_path ("nm-connection-editor");
panels/network/net-device-mobile.c: cmdline = g_strdup_printf ("nm-connection-editor --edit %s", uuid);
panels/network/net-device-mobile.c: g_warning ("Failed to launch nm-connection-editor: %s", error->message);
panels/network/net-device-mobile.c: path = g_find_program_in_path ("nm-connection-editor");
On first glance it's unclear how or where some of these panels use nm-connection-editor in the first place...