app: Automatically determine if headerbars should be used
If the XDG_CURRENT_DESKTOP env var contains either GNOME or GNOME-Classic, use headerbars, unless the user has explicitly set the pref. NOTE! This makes it unnecessary for distributions to override the default value of the headerbar pref.
Showing with 52 additions and 8 deletions