summaryrefslogtreecommitdiff
path: root/sendto/plugins/pidgin/pidgin.c
diff options
context:
space:
mode:
Diffstat (limited to 'sendto/plugins/pidgin/pidgin.c')
-rw-r--r--sendto/plugins/pidgin/pidgin.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sendto/plugins/pidgin/pidgin.c b/sendto/plugins/pidgin/pidgin.c
index 7b7b107..d06fd41 100644
--- a/sendto/plugins/pidgin/pidgin.c
+++ b/sendto/plugins/pidgin/pidgin.c
@@ -83,6 +83,11 @@ init (NstPlugin *plugin)
g_print ("Init pidgin plugin\n");
+#ifdef ENABLE_NLS
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
+
error = NULL;
connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error);
if(error != NULL) {