diff options
Diffstat (limited to 'sendto/plugins/emailclient/emailclient.c')
-rw-r--r-- | sendto/plugins/emailclient/emailclient.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sendto/plugins/emailclient/emailclient.c b/sendto/plugins/emailclient/emailclient.c index 4669df4..cfcf8a9 100644 --- a/sendto/plugins/emailclient/emailclient.c +++ b/sendto/plugins/emailclient/emailclient.c @@ -3,6 +3,7 @@ /* * Copyright (C) 2004 Roberto Majadas <[email protected]> * Copyright (C) 2012 Stefano Karapetsas <[email protected]> + * Copyright (C) 2012-2021 MATE developers. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -59,7 +60,6 @@ get_evo_cmd (void) NULL}; guint i; - for (i = 0; cmds[i] != NULL; i++) { tmp = g_find_program_in_path (cmds[i]); if (tmp != NULL) @@ -81,6 +81,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)); |