Sorry that function does not update the menu item. Also we should decide if the menu item should be unchecked or hidden
if we just uncheck the item there is the risk that the user re-enables it, and the led/rf_kill will no more be synced. So in my opinion the best thing to do is to hide this item from the menu using gtk_widget_hide (applet->stop_wireless_item); /* during off */ gtk_widget_show_all (applet->stop_wireless_item); /* during on */ -- 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