i think you want to do two things here:

 1. add device class information to disconnect notifications
 2. notify about special events like "wireless disabled/enabled" or "wireless 
hardware disabled/enabled"

for 1.:

The notification you see in applet.c that displays a generic icon for
disconnect is done when the client state changes to disconnect.

That state refers to the "overall" connectivity state which is why there
is no info which type of device you disconnected.

One idea is to track device changes and use the most recently
disconnected device to guess the type of notification we want to
display.

However, this would make us depend on the order of the notification
events, which are on its own not connected - and no guarantees are given
about the order (e.g. one time we could get a "wireless device
disconnected" event followed by "nm client disconnected", next time it
could be in different order).

stacking notifications and modifying them after they appeared might be a
solution for that.

... to be continued

-- 
nm-applet notifications should have more information for disconnected states
https://bugs.launchpad.net/bugs/341684
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to