Use XDG_CURRENT_DESKTOP for conditionals when available
commit62e1f329533ddff346b619a5cd16d347a8d46c05
authorShaun McCance <shaunm@gnome.org>
Fri, 21 Aug 2015 20:25:23 +0000 (21 16:25 -0400)
committerShaun McCance <shaunm@gnome.org>
Wed, 26 Aug 2015 02:56:16 +0000 (25 22:56 -0400)
treee4526fbae6419a6515b45edcd534d72481c702fa
parenta111b7ecc71ac12fc06c05c22ac575f405faaa14
Use XDG_CURRENT_DESKTOP for conditionals when available

Previously we had been using various DBus introspection routines to
check the current desktop. That code is still there, but we don't
use it if we can get the right information from XDG_CURRENT_DESKTOP.
This adds more desktops we can check for, including gnome-shell
derivatives like Elementary Pantheon and Cinnamon. We also set the
new platform:gnome-3 token for GNOME 3 standard mode.
libyelp/yelp-settings.c