← Back to team overview

desktop-packages team mailing list archive

[Bug 445872] Re: disable-disconnect-notification option ignored

 

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");
...

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-applet in Ubuntu.
https://bugs.launchpad.net/bugs/445872

Title:
  disable-disconnect-notification option ignored

Status in “network-manager-applet” package in Ubuntu:
  Triaged

Bug description:
  the gconf key /apps/nm-applet/disable-disconnected-notifications does
  not disable disconnect notifications, while the other works for
  connected notifications.

  ProblemType: Bug
  Architecture: amd64
  CRDA: Error: [Errno 2] No such file or directory
  Date: Thu Oct  8 00:50:27 2009
  DistroRelease: Ubuntu 9.10
  Gconf:
   
  IfupdownConfig:
   auto lo
   iface lo inet loopback
  IpRoute:
   192.168.5.0/24 dev wlan0  proto kernel  scope link  src 192.168.5.2  metric 2 
   169.254.0.0/16 dev wlan0  scope link  metric 1000 
   default via 192.168.5.1 dev wlan0  proto static
  Package: network-manager-gnome 0.8~a~git.20091002t194214.8515a07-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.31-12.40-generic
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  SourcePackage: network-manager-applet
  Uname: Linux 2.6.31-12-generic x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/445872/+subscriptions