e_open - special case for dirs - if no explicit one set - use efm

enlightenment_open will use efm to show a dir unless you have explicit
config saying to use another handler for inode/directory mime types
enlightenment-0.24
Carsten Haitzler 3 years ago
parent af0d44a57d
commit 0308c7abce
  1. 5
      src/bin/e_open.c

@ -135,6 +135,11 @@ handler_find(const char *mime)
eina_stringshare_del(name);
}
if (!desktop)
{
if (!strcmp(mime, "inode/directory"))
desktop = efreet_util_desktop_file_id_find("enlightenment_filemanager.desktop");
}
if (!desktop)
desktop = desktop_first_free_others(efreet_util_desktop_mime_list(mime));

Loading…
Cancel
Save