gnome-shell/js/ui/status
Michael Catanzaro da7db509e7 network: Avoid JS error when activating VPN connection
If the call to settings.get_connection_by_path in
ensureActiveConnectionProps returns null, we'll hit a JS error here.
Seems to happen always when activating a VPN connection. Avoid that.

Giovanni says:

"I believe this is papering over an existing bug, but it's possible for
settings.get_connection_by_path() to legitimately return null (if the
connection is owned by a different user and invisible to the current
one), so the fix is correct anyway."

https://bugzilla.gnome.org/show_bug.cgi?id=759793
2016-12-27 12:14:19 -06:00
..
accessibility.js status/a11y: invert connection to changes and initial read 2015-03-27 13:11:22 -07:00
bluetooth.js bluetooth: Replace "Not In Use" status string with "On" 2016-10-12 10:35:31 +02:00
brightness.js js: Use EVENT_PROPAGATE/EVENT_STOP constants in event handlers 2013-12-16 18:27:19 +01:00
keyboard.js keyboard: save the MRU input sources list when switching 2016-05-27 10:46:58 -07:00
location.js location: Update for PermissionStore DBus API changes 2016-05-27 15:31:50 +02:00
network.js network: Avoid JS error when activating VPN connection 2016-12-27 12:14:19 -06:00
power.js power: Add battery percentage label 2015-11-19 14:04:22 +01:00
rfkill.js status: Refine system status menu 2015-08-20 13:53:36 +02:00
screencast.js Add a screencast indicator for when we're recording 2013-08-14 20:39:07 -04:00
system.js system: Do not disable suspend action when locked 2016-05-27 17:04:47 +02:00
volume.js js: Use EVENT_PROPAGATE/EVENT_STOP constants in event handlers 2013-12-16 18:27:19 +01:00