aboutsummaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-05-31 15:09:32 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-05-31 15:09:32 +0200
commit3f6306bd8b19c3b0bd2be7652560b13cacb06c04 (patch)
tree5bfb311910ceb8e60af71b9ef4c798b2224933d4 /src/service.c
parent6436d4ede3ec1c31ef7dd94f2150a32cd5b7f32f (diff)
downloadayatana-indicator-power-3f6306bd8b19c3b0bd2be7652560b13cacb06c04.tar.gz
ayatana-indicator-power-3f6306bd8b19c3b0bd2be7652560b13cacb06c04.tar.bz2
ayatana-indicator-power-3f6306bd8b19c3b0bd2be7652560b13cacb06c04.zip
src/service.c: Know about DESKTOP_SESSION xfce as well (not only about xubuntu).
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c
index d99557f..07db8ab 100644
--- a/src/service.c
+++ b/src/service.c
@@ -815,7 +815,7 @@ on_settings_activated (GSimpleAction * a G_GNUC_UNUSED,
if (control_center_cmd == NULL)
{
- if (!g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "xubuntu"))
+ if ((!g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "xubuntu")) || (!g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "xfce")))
{
control_center_cmd = "xfce4-power-manager-settings";
}