elementary / switchboard-plug-network

Switchboard Network Plug
GNU General Public License v3.0
20 stars 23 forks source link

Fix plug crashes #314

Closed davidmhewitt closed 2 years ago

davidmhewitt commented 2 years ago

Fixes #311

Two parts to this, the first commit fixes a crash that happens while the plug is open and you attach a new NIC that doesn't have any available connections.

The second fixes plug crashes on startup with an extra NIC plugged in.

The backtrace for the second type of crash is just a load of GTK signal emissions about showing/mapping/realizing widgets, and I couldn't track it down to anything specific in the networking plug. But removing a bunch of these show_all calls from every single method ever where they're really not necessary seems to fix things.