Comment 10 for bug 445872

Revision history for this message
da_coynul (xtragb) wrote :

Can someone explain why this patch:

lp341684_device_sensitive_disconnect_notify.patch

does not use the function applet_do_notify_with_pref () to display disconnected notifications? You can see where it was removed by the patch:

- applet_do_notify_with_pref (applet, _("Disconnected"),
- _("The network connection has been disconnected."),
- "nm-no-connection",
- PREF_DISABLE_DISCONNECTED_NOTIFICATIONS);

The above function checks the value of /apps/nm-applet/disable-disconnected-notifications before displaying the notification.
The code from the patch does not:

...
info->text = _("Disconnected - you are now offline");
...