Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > 900cc7a420af1ff81ce638dfdf35518d > files > 5

libcompizconfig-0.8.8-7.fc18.src.rpm

diff -uprN libcompizconfig-0.8.8-orig/config/config libcompizconfig-0.8.8/config/config
--- libcompizconfig-0.8.8-orig/config/config	2011-04-21 12:03:54.000000000 +0200
+++ libcompizconfig-0.8.8/config/config	2013-04-24 15:51:08.228040430 +0200
@@ -8,7 +8,7 @@ backend = kconfig
 integration = true
 plugin_list_autosort = true
 
-[gnome_session]
+[mate_session]
 backend = gconf
 integration = true
 plugin_list_autosort = true
diff -uprN libcompizconfig-0.8.8-orig/src/config.c libcompizconfig-0.8.8/src/config.c
--- libcompizconfig-0.8.8-orig/src/config.c	2011-04-21 12:03:54.000000000 +0200
+++ libcompizconfig-0.8.8/src/config.c	2013-04-24 15:51:08.270040842 +0200
@@ -65,9 +65,9 @@ getSectionName (void)
 	return section;
     }
 
-    profile = getenv ("GNOME_DESKTOP_SESSION_ID");
+    profile = getenv ("MATE_DESKTOP_SESSION_ID");
     if (profile && strlen (profile))
-	return strdup ("gnome_session");
+	return strdup ("mate_session");
 
     profile = getenv ("KDE_SESSION_VERSION");
     if (profile && strlen (profile) && strcasecmp (profile, "4") == 0)