forked from enlightenment/enlightenment
parent
fb7b7e8b65
commit
491c80f462
|
@ -87,11 +87,13 @@ _e_fdo_menu_to_order_make_apps(char *name, char *path, char *directory, Ecore_Ha
|
||||||
order_data.sheap = ecore_sheap_new(ecore_str_compare, 100);
|
order_data.sheap = ecore_sheap_new(ecore_str_compare, 100);
|
||||||
ecore_sheap_set_free_cb(order_data.sheap, free);
|
ecore_sheap_set_free_cb(order_data.sheap, free);
|
||||||
}
|
}
|
||||||
temp = ecore_file_get_file(order_data.order_path);
|
if (directory)
|
||||||
if (temp)
|
|
||||||
{
|
{
|
||||||
// FIXME: What to do about .directory.eap's when .desktop takes over?
|
char dir[PATH_MAX];
|
||||||
// create_dir_eap(order_data.order_path, temp, name);
|
|
||||||
|
snprintf(dir, sizeof(dir), "%s/.directory", order_data.order_path);
|
||||||
|
if ((ecore_file_exists(directory)) && (!ecore_file_exists(dir)))
|
||||||
|
ecore_file_symlink(directory, dir);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Create the apps. */
|
/* Create the apps. */
|
||||||
|
|
Loading…
Reference in New Issue