aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-21 07:13:29 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-21 07:13:29 +0100
commit1872fc53a0004997ca87fcae5619b0c173401b12 (patch)
treeb196295de0047f4a8355f5bb1dcb2f801803f067 /src/utils.h
parent41bf160d2e1efc5185d2f26431394f3feffa0ce4 (diff)
downloadayatana-indicator-power-1872fc53a0004997ca87fcae5619b0c173401b12.tar.gz
ayatana-indicator-power-1872fc53a0004997ca87fcae5619b0c173401b12.tar.bz2
ayatana-indicator-power-1872fc53a0004997ca87fcae5619b0c173401b12.zip
src/utils.(c|h): Use XDG_CURRENT_DESKTOP for XFCE as well, in order to detect that -power indicator is used on an XFCE desktop.
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
index 3143625..2666f02 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -30,5 +30,6 @@ gboolean is_unity();
gboolean is_gnome();
gboolean is_mate();
gboolean is_pantheon();
+gboolean is_xfce();
#endif /* __INDICATOR_POWER_UTILS_H__ */