in the case that we cannot use the dbus command to disable wireless because the applet does not get updated (bug or not?) we can still want to build a c file that uses the nm function
void nma_dbus_enable_wireless (NMApplet *applet, gboolean enabled) checking the code if you pass to this function the applet and the status you want to set, it first calls setWirelessEnabled with that value, and then updates the applet menu. The only difficould thing is how we can obtain the "instance" of the applet -- add network-manager support to /etc/acpi/wireless.sh https://launchpad.net/bugs/95927 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs