diff options
author | Christian Neumair <cneumair@gnome.org> | 2008-02-22 12:46:00 +0000 |
---|---|---|
committer | Christian Neumair <cneumair@src.gnome.org> | 2008-02-22 12:46:00 +0000 |
commit | c381ff4ff910581441bfb9c9493812c27319c28e (patch) | |
tree | 7deac1f61db3e8b31c85edd38638af148cb03546 /hal | |
parent | 7098f9ab8a63ad3804e68bc92d8d9afc677ca120 (diff) | |
download | gvfs-c381ff4ff910581441bfb9c9493812c27319c28e.tar.gz |
Bind to GVFS text domain. Fixes #517892.
2007-02-22 Christian Neumair <cneumair@gnome.org>
* gconf/gconf-module.c: (g_io_module_load):
* gconf/Makefile.am:
* hal/hal-module.c: (g_io_module_load):
* hal/Makefile.am:
* client/gdaemonvfs.c: (g_daemon_vfs_init):
* client/Makefile.am:
Bind to GVFS text domain. Fixes #517892.
svn path=/trunk/; revision=1330
Diffstat (limited to 'hal')
-rw-r--r-- | hal/Makefile.am | 1 | ||||
-rw-r--r-- | hal/hal-module.c | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/hal/Makefile.am b/hal/Makefile.am index 9aed2b1a..f28c1b4b 100644 --- a/hal/Makefile.am +++ b/hal/Makefile.am @@ -33,6 +33,7 @@ libgiohal_volume_monitor_la_CFLAGS = \ $(GLIB_CFLAGS) \ $(HAL_CFLAGS) \ -DGIO_MODULE_DIR=\"$(GIO_MODULE_DIR)\" \ + -DGVFS_LOCALEDIR=\""$(localedir)"\" \ -DG_DISABLE_DEPRECATED \ $(NULL) diff --git a/hal/hal-module.c b/hal/hal-module.c index 46b53041..f8b255ba 100644 --- a/hal/hal-module.c +++ b/hal/hal-module.c @@ -22,7 +22,10 @@ * Author: David Zeuthen <davidz@redhat.com> */ +#include <config.h> + #include <glib.h> +#include <glib/gi18n-lib.h> #include <gmodule.h> #include <gio/gio.h> @@ -36,6 +39,9 @@ void g_io_module_load (GIOModule *module) { + bindtextdomain (GETTEXT_PACKAGE, GVFS_LOCALEDIR); + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + hal_device_register (module); hal_pool_register (module); g_hal_drive_register (module); |