summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libegg/eggsmclient.c4
-rw-r--r--src/caja-application.c4
-rw-r--r--src/caja-main.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/libegg/eggsmclient.c b/libegg/eggsmclient.c
index 4886f147..84848921 100644
--- a/libegg/eggsmclient.c
+++ b/libegg/eggsmclient.c
@@ -57,8 +57,8 @@ static gboolean
running_in_mate (void)
{
return (g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "MATE") == 0)
- || (g_strcmp0 (g_getenv ("XDG_SESSION_DESKTOP"), "MATE") == 0)
- || (g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "MATE") == 0);
+ || (g_strcmp0 (g_getenv ("XDG_SESSION_DESKTOP"), "mate") == 0)
+ || (g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "mate") == 0);
}
static void
diff --git a/src/caja-application.c b/src/caja-application.c
index 77a323a6..723edfcf 100644
--- a/src/caja-application.c
+++ b/src/caja-application.c
@@ -1979,8 +1979,8 @@ static gboolean
running_in_mate (void)
{
return (g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "MATE") == 0)
- || (g_strcmp0 (g_getenv ("XDG_SESSION_DESKTOP"), "MATE") == 0)
- || (g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "MATE") == 0);
+ || (g_strcmp0 (g_getenv ("XDG_SESSION_DESKTOP"), "mate") == 0)
+ || (g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "mate") == 0);
}
static gboolean
diff --git a/src/caja-main.c b/src/caja-main.c
index c74e43b0..a6e296ff 100644
--- a/src/caja-main.c
+++ b/src/caja-main.c
@@ -220,8 +220,8 @@ static gboolean
running_in_mate (void)
{
return (g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "MATE") == 0)
- || (g_strcmp0 (g_getenv ("XDG_SESSION_DESKTOP"), "MATE") == 0)
- || (g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "MATE") == 0);
+ || (g_strcmp0 (g_getenv ("XDG_SESSION_DESKTOP"), "mate") == 0)
+ || (g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "mate") == 0);
}
static gboolean