const char *not_show_in = NULL, *only_show_in = NULL;
val = efreet_ini_localestring_get(ini, "Name");
+ if (!val) val = efreet_ini_localestring_get(ini, "_Name");
if (val) desktop->name = strdup(val);
else
{
- ERR("efreet_desktop_generic_fields_parse error: no Name");
+ ERR("efreet_desktop_generic_fields_parse error: no Name or _Name fields");
return 0;
}
if (val) desktop->generic_name = strdup(val);
val = efreet_ini_localestring_get(ini, "Comment");
+ if (!val) val = efreet_ini_localestring_get(ini, "_Comment");
if (val) desktop->comment = strdup(val);
val = efreet_ini_localestring_get(ini, "Icon");