Improve simple HdyPreferenceWindow UX
I'm just porting Geary's prefs dialog to HdyPreferenceWindow, which having only 4 prefs at the moment is super simple. I'd like to leverage handy's fine widgets as much as possible so I'm using HdyPreferenceWindow, with a HdyPreferencePage, with a HdyPreferenceGroup, with the four rows.
This works fine, but two things clutter this up a bit:
- The HdyPreferencesGroup must have a title and a description otherwise it won't be added properly to the page, which is a) overkill here, b) more work for translators and c) the single title needlessly clutters the UI.
- The search button is also overkill, it would be useful if it was only shown and enabled if there were a non-trivial number of pages/groups/rows, or at least there was a manual way to disable it