Skip to content
Commit 601164de authored by Michael Catanzaro's avatar Michael Catanzaro
Browse files

power: Fix hiding wi-fi, mobile broadband toggles

We check with NetworkManager whether a wireless device exists to decide
whether or not to display these toggles. NetworkManager says no, we hide
the toggles, then we call gtk_widget_show_all() and undo our work. Sad!
Actually pressing the toggles triggers the check again, and causes both
listbox rows to shockingly disappear.

This fix is not needed on the master branch because, since the port to
libnm 1.2, the check is now scheduled on the main loop, to run after
this function completes, inadvertantly fixing this bug.

https://bugzilla.gnome.org/show_bug.cgi?id=771148
parent 2b911465
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment