The missing link.

SVN revision: 26603
This commit is contained in:
David Walter Seikel 2006-10-14 12:11:50 +00:00
parent fb7b7e8b65
commit 491c80f462
1 changed files with 8 additions and 6 deletions

View File

@ -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);
ecore_sheap_set_free_cb(order_data.sheap, free);
}
temp = ecore_file_get_file(order_data.order_path);
if (temp)
if (directory)
{
// FIXME: What to do about .directory.eap's when .desktop takes over?
// create_dir_eap(order_data.order_path, temp, name);
char dir[PATH_MAX];
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. */