aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/service.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index 9ac559b..602caba 100644
--- a/src/service.c
+++ b/src/service.c
@@ -769,6 +769,10 @@ on_settings_activated (GSimpleAction * a G_GNUC_UNUSED,
{
control_center_cmd = "xfce4-power-manager-settings";
}
+ else if (!g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "mate"))
+ {
+ control_center_cmd = "mate-power-preferences";
+ }
else if (!g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "Pantheon"))
{
control_center_cmd = "switchboard --open-plug system-pantheon-power";