diff options
author | Stefano Karapetsas <[email protected]> | 2015-01-21 14:53:39 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2015-01-21 14:53:39 +0100 |
commit | 23b75dadd35f039a8cd93111528a8a66dde8888e (patch) | |
tree | 13e85f8fc2279c008046c68dc8bfc5647a6f40f3 | |
parent | 842da48a34f98463c5c7d536ee56f0f24e373606 (diff) | |
download | caja-23b75dadd35f039a8cd93111528a8a66dde8888e.tar.bz2 caja-23b75dadd35f039a8cd93111528a8a66dde8888e.tar.xz |
Disable desktop if we arent inside MATE
-rw-r--r-- | src/caja-main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/caja-main.c b/src/caja-main.c index 1de9fa29..4307e0f3 100644 --- a/src/caja-main.c +++ b/src/caja-main.c @@ -465,6 +465,10 @@ main (int argc, char *argv[]) no_default_window = TRUE; no_desktop = FALSE; } + else if (g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "MATE") != 0) + { + no_desktop = TRUE; + } if (perform_self_check && remaining != NULL) { |