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");
...
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"), DISCONNECTED_ NOTIFICATIONS) ;
- _("The network connection has been disconnected."),
- "nm-no-connection",
- PREF_DISABLE_
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");
...