the function which modifies wireless_enabled is only called when receiving the dbus message getWirelessEnabled (which happens, I think, only when the applet is started). In fact, when I start nm-applet with setWirelessEnabled=false the wireless menu does not appear!
So it should be added a function that when catches the setWirelessEnabled message from dbus, it calls nma_dbus_update_wireless_enabled_cb (or some similar new function), and of course pops up a notify to the user using: nma_send_event_notification(NMApplet *applet, NotifyUrgency urgency, const char *summary,const char *message, const char *icon); Unfortunately I have never programmed with dbus so I don't know how a thread can be put to listen to a dbus message... -- nm-applet not synced to dbus .sleep and .setWirelessEnabled https://launchpad.net/bugs/75914 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
