X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fhildon2%2Fmodest-platform.c;h=18db4b34e0af4ca7868c3f08f12e966653da863e;hp=de71edf50171429ae465793e0566ca6566cdfbf9;hb=22f687bc1a5543f49b3ff3acdb53e00fe6c165a0;hpb=4f7bab9e1c193fff703bc6480b5c8ee24f34b898 diff --git a/src/hildon2/modest-platform.c b/src/hildon2/modest-platform.c index de71edf..18db4b3 100644 --- a/src/hildon2/modest-platform.c +++ b/src/hildon2/modest-platform.c @@ -134,9 +134,16 @@ on_modest_conf_update_interval_changed (ModestConf* self, static gboolean check_required_files (void) { - FILE *mcc_file = modest_utils_open_mcc_mapping_file (NULL); + FILE *mcc_file = modest_utils_open_mcc_mapping_file (FALSE, NULL); if (!mcc_file) { - g_printerr ("modest: check for mcc file failed\n"); + g_printerr ("modest: check for mcc file (for LANG) failed\n"); + return FALSE; + } else + fclose (mcc_file); + + mcc_file = modest_utils_open_mcc_mapping_file (TRUE, NULL); + if (!mcc_file) { + g_printerr ("modest: check for mcc file (for LC_MESSAGES) failed\n"); return FALSE; } else fclose (mcc_file);