summaryrefslogtreecommitdiff
path: root/libyelp
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2015-08-25 23:00:36 -0400
committerShaun McCance <shaunm@gnome.org>2015-08-25 23:00:36 -0400
commit7fc078afd3e203aceb904ec0f71d522866737298 (patch)
treef7315aa3359fd05e295cd1afe998c91e21105abf /libyelp
parent62e1f329533ddff346b619a5cd16d347a8d46c05 (diff)
downloadyelp-7fc078afd3e203aceb904ec0f71d522866737298.tar.gz
yelp-settings: Check for XFCE in XDG_CURRENT_DESKTOP
Diffstat (limited to 'libyelp')
-rw-r--r--libyelp/yelp-settings.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libyelp/yelp-settings.c b/libyelp/yelp-settings.c
index fe0b49c3..99a8b432 100644
--- a/libyelp/yelp-settings.c
+++ b/libyelp/yelp-settings.c
@@ -343,6 +343,11 @@ yelp_settings_constructed (GObject *object)
skip_dbus_checks = TRUE;
break;
}
+ else if (!g_ascii_strcasecmp (desktops[i], "xfce")) {
+ yelp_settings_set_if_token (settings, "platform:xfce");
+ skip_dbus_checks = TRUE;
+ break;
+ }
}
if (xdg_gnome) {
yelp_settings_set_if_token (settings, "platform:gnome-shell");