summaryrefslogtreecommitdiff
path: root/sendto/plugins/emailclient/emailclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'sendto/plugins/emailclient/emailclient.c')
-rw-r--r--sendto/plugins/emailclient/emailclient.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sendto/plugins/emailclient/emailclient.c b/sendto/plugins/emailclient/emailclient.c
index dee9e07..5414398 100644
--- a/sendto/plugins/emailclient/emailclient.c
+++ b/sendto/plugins/emailclient/emailclient.c
@@ -82,6 +82,11 @@ init (NstPlugin *plugin)
g_print ("Init email client plugin\n");
+#ifdef ENABLE_NLS
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+#endif /* ENABLE_NLS */
+
app_info = g_app_info_get_default_for_uri_scheme ("mailto");
if (app_info) {
mail_cmd = g_strdup(g_app_info_get_executable (app_info));