preferences-group: Better handle random widgets
Currently it's possible to add any widget to a HdyPreferencesGroup
, though rows will be added to the group's list and other widgets will be appended at the bottom, after the list.
Maybe instead we should add any widgets to the list, exactly where they were added, and check whether the row is a preference, and if it's not check its child.
We need to take into account exotic cases though, like these: