return 0;
p++;
- if (strcasecmp(p, "desktop"))
+ if ((strcasecmp(p, "desktop") != 0) && (strcasecmp(p, "desktop") != 0))
return 0;
return 1;
if (mime) ic->info.mime = evas_stringshare_add(mime);
}
- if (e_util_glob_case_match(ic->info.file, "*.desktop"))
+ if ((e_util_glob_case_match(ic->info.file, "*.desktop")) || (e_util_glob_case_match(ic->info.file, "*.directory")))
_e_fm2_icon_desktop_load(ic);
evas_event_freeze(evas_object_evas_get(sd->obj));
edje_freeze();
gen_func, data);
_e_fm2_icon_thumb(ic, oic, force_gen);
}
- else if (
- (e_util_glob_case_match(ic->info.file, "*.desktop"))
- )
+ else if ((e_util_glob_case_match(ic->info.file, "*.desktop")) || (e_util_glob_case_match(ic->info.file, "*.directory")))
{
E_App *app;
alpha = 1;
ext = strrchr(eth->file, '.');
- if ((ext) && (!strcasecmp(ext, ".desktop")))
+ if ( (ext) && ((!strcasecmp(ext, ".desktop")) || (!strcasecmp(ext, ".directory"))) )
{
Ecore_Desktop *desktop;