Iain Lane
7dbcd26619
network: Don't assume the active connection has been processed first
...
`NMConnectionDevice._sync()` is responsible for setting up the active
connection that we'll end up displaying. It expects the active
connection to already be in a map `_connectionItems`. If it isn't in
there, we get a null dereference and the indicator can get into a weird
state where it doesn't display devices / connections properly.
Let's change this expectation. If there is an active connection,
`_deviceAdded()` will eventually get to it and call `_sync()` to set up
the active connection state. We make `_sync()` tolerate there being no
active connection when it's called.
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/140
(cherry picked from commit 5d61e2563d183272f604f1a2af635ad5cbdb627e)
2018-09-03 23:34:07 +00:00
..
2018-05-09 14:53:15 +00:00
2018-09-03 23:34:07 +00:00
2018-02-21 13:54:58 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-04-10 14:38:26 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:00 +00:00
2018-02-21 13:55:02 +00:00
2018-07-13 23:03:42 +02:00
2018-02-21 13:54:58 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-04-13 09:15:48 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:00 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:00 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:00 +00:00
2018-02-21 13:55:00 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:54:58 +00:00
2018-02-21 13:55:02 +00:00
2018-08-31 14:39:12 +00:00
2018-08-31 14:40:35 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-06-07 08:42:32 +00:00
2018-02-21 13:55:00 +00:00
2018-06-20 23:24:07 +00:00
2018-03-02 19:59:48 +00:00
2018-02-21 13:55:02 +00:00
2018-03-21 16:48:56 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-05-08 22:02:11 +02:00
2018-08-30 02:37:28 +00:00
2018-08-31 14:28:11 +00:00
2018-02-21 13:55:02 +00:00
2018-07-31 00:17:49 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-07-31 00:14:53 +00:00
2018-02-21 13:55:02 +00:00
2018-05-08 22:02:11 +02:00
2018-08-19 21:11:37 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:00 +00:00
2018-09-04 01:12:24 +02:00
2018-02-21 13:55:00 +00:00
2018-02-21 13:55:02 +00:00
2018-03-14 13:30:47 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:54:58 +00:00
2018-02-21 13:55:00 +00:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-09-04 01:12:04 +02:00
2018-02-21 13:55:02 +00:00
2018-08-31 14:40:01 +00:00
2018-08-31 14:38:54 +00:00
2018-09-04 01:18:00 +02:00
2018-02-21 13:55:02 +00:00
2018-02-21 13:55:02 +00:00
2018-08-30 02:39:37 +00:00
2018-02-21 13:55:02 +00:00