static void
init_i18n (void)
{
-#ifdef MODEST_PLATFORM_MAEMO
/* little trick make en_GB the fallback language, instead
* of the logical IDs
* we need the ugly ifdefs, because modest_platform_init is
g_free (language);
}
/* end of little trick */
-#endif /*MODEST_PLATFORM_MAEMO */
bindtextdomain (GETTEXT_PACKAGE, MODEST_LOCALE_DIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
if (!modest_conf_key_exists (conf, MODEST_CONF_REPLY_TYPE, NULL))
modest_conf_set_int (conf, MODEST_CONF_REPLY_TYPE, MODEST_TNY_MSG_REPLY_TYPE_QUOTE, NULL);
+
+ if (!modest_conf_key_exists (conf, MODEST_CONF_FETCH_HTML_EXTERNAL_IMAGES, NULL))
+ modest_conf_set_bool (conf, MODEST_CONF_FETCH_HTML_EXTERNAL_IMAGES, FALSE, NULL);
}
static void
init_device_name (ModestConf *conf)
{
- unsigned int len = 255; /* max len */
+ gsize len = 255; /* max len */
gchar *devname = NULL;
if (!g_file_get_contents("/etc/hostname", &devname, &len, NULL) || len < 2 || len > 254) {