[gnome-settings-daemon] automount: Call bind_textdomain_codeset()
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] automount: Call bind_textdomain_codeset()
- Date: Fri, 7 Oct 2011 21:03:22 +0000 (UTC)
commit 35cda8c423f3c9639ff63c15a5432c9ea03c4282
Author: Bastien Nocera <hadess hadess net>
Date: Fri Oct 7 22:02:07 2011 +0100
automount: Call bind_textdomain_codeset()
Which should avoid some problems in non-UTF-8 locales.
plugins/automount/gnome-fallback-mount-helper.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/automount/gnome-fallback-mount-helper.c b/plugins/automount/gnome-fallback-mount-helper.c
index 9f7a1fa..4a52ba0 100644
--- a/plugins/automount/gnome-fallback-mount-helper.c
+++ b/plugins/automount/gnome-fallback-mount-helper.c
@@ -40,6 +40,7 @@ main (int argc,
gtk_init (&argc, &argv);
bindtextdomain (GETTEXT_PACKAGE, GNOME_SETTINGS_LOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
loop = g_main_loop_new (NULL, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]