libgnomeui r5606 - in trunk: . file-chooser



Author: kmaraas
Date: Tue May 27 21:28:36 2008
New Revision: 5606
URL: http://svn.gnome.org/viewvc/libgnomeui?rev=5606&view=rev

Log:
2008-05-27  Kjartan Maraas  <kmaraas gnome org>

	* file-chooser/gtkfilesystemgio.c: (gtk_file_system_gio_init):
	Initialize gettext properly. Patch from Andrew Zabolotny <anpaza at
	mail.ru>. Closes bug #534814.

Modified:
   trunk/ChangeLog
   trunk/file-chooser/gtkfilesystemgio.c

Modified: trunk/file-chooser/gtkfilesystemgio.c
==============================================================================
--- trunk/file-chooser/gtkfilesystemgio.c	(original)
+++ trunk/file-chooser/gtkfilesystemgio.c	Tue May 27 21:28:36 2008
@@ -417,6 +417,11 @@
 
   DEBUG ("init");
 
+  bindtextdomain (GETTEXT_PACKAGE, GNOMEUILOCALEDIR);
+#ifdef HAVE_BIND_TEXTDOMAIN_CODESET 
+  bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif
+
   impl->volume_monitor = g_volume_monitor_get ();
 
   path = get_bookmarks_filename ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]