[yelp] yelp-settings: Check for XFCE in XDG_CURRENT_DESKTOP



commit 7fc078afd3e203aceb904ec0f71d522866737298
Author: Shaun McCance <shaunm gnome org>
Date:   Tue Aug 25 23:00:36 2015 -0400

    yelp-settings: Check for XFCE in XDG_CURRENT_DESKTOP

 libyelp/yelp-settings.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libyelp/yelp-settings.c b/libyelp/yelp-settings.c
index fe0b49c..99a8b43 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");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]