summaryrefslogtreecommitdiff
path: root/extra/xfce4-session/gdm.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-24 23:14:38 +0000
committerroot <root@rshg054.dnsready.net>2011-08-24 23:14:38 +0000
commitf53c212680c1817ef2337855ef8814dea6b07e4e (patch)
treec93db9dbaade4f2c86a8d550c237edf7d574f6da /extra/xfce4-session/gdm.patch
parent9254c2bc6500471b22eead69781ddef84f87e2bf (diff)
Wed Aug 24 23:14:37 UTC 2011
Diffstat (limited to 'extra/xfce4-session/gdm.patch')
-rw-r--r--extra/xfce4-session/gdm.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/xfce4-session/gdm.patch b/extra/xfce4-session/gdm.patch
new file mode 100644
index 000000000..e89e6a0b6
--- /dev/null
+++ b/extra/xfce4-session/gdm.patch
@@ -0,0 +1,21 @@
+From 3bba8eb773a96339fb841c76b04f2d4fd3317814 Mon Sep 17 00:00:00 2001
+From: Panu Matilainen <pmatilai@laiskiainen.org>
+Date: Wed, 23 Mar 2011 21:13:40 +0000
+Subject: Fix GDM_LANG usage to be compatible with GDM3 (bug #7400).
+
+---
+diff --git a/xfce4-session/main.c b/xfce4-session/main.c
+index ff6e324..fcf69f8 100644
+--- a/xfce4-session/main.c
++++ b/xfce4-session/main.c
+@@ -103,7 +103,7 @@ setup_environment (void)
+
+ /* this is for compatibility with the GNOME Display Manager */
+ lang = g_getenv ("GDM_LANG");
+- if (lang != NULL)
++ if (lang != NULL && strlen (lang) > 0)
+ {
+ xfce_setenv ("LANG", lang, TRUE);
+ xfce_unsetenv ("GDM_LANG");
+--
+cgit