diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-05-31 15:09:32 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-05-31 15:09:32 +0200 |
commit | 3f6306bd8b19c3b0bd2be7652560b13cacb06c04 (patch) | |
tree | 5bfb311910ceb8e60af71b9ef4c798b2224933d4 /src | |
parent | 6436d4ede3ec1c31ef7dd94f2150a32cd5b7f32f (diff) | |
download | ayatana-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')
-rw-r--r-- | src/service.c | 2 |
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"; } |