[libcompizconfig] add libcompizconfig_new_mate.patch

Wolfgang Ulbrich raveit65 at fedoraproject.org
Wed Apr 24 14:42:19 UTC 2013


commit 7cb5176206eb13001917c3bb94c9e32d60151a07
Author: raveit <chat-to-me at raveit.de>
Date:   Wed Apr 24 16:42:09 2013 +0200

    add libcompizconfig_new_mate.patch

 libcompizconfig_new_mate.patch |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)
---
diff --git a/libcompizconfig_new_mate.patch b/libcompizconfig_new_mate.patch
new file mode 100644
index 0000000..459f803
--- /dev/null
+++ b/libcompizconfig_new_mate.patch
@@ -0,0 +1,27 @@
+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)


More information about the scm-commits mailing list