symlinks for 3 favorites.

SVN revision: 37134
This commit is contained in:
Carsten Haitzler 2008-10-26 11:24:35 +00:00
parent 67b3a98282
commit e873237299
1 changed files with 6 additions and 0 deletions

View File

@ -74,6 +74,12 @@ wizard_page_apply(E_Wizard_Page *pg)
snprintf(buf, sizeof(buf), "%s/Desktop", homedir);
ecore_file_mkpath(buf);
// FIXME: ln -s the .desktop files in favorites
snprintf(buf, sizeof(buf), "%s/Desktop/home.desktop", homedir);
ecore_file_symlink("../.e/e/fileman/favorites/home.desktop", buf);
snprintf(buf, sizeof(buf), "%s/Desktop/root.desktop", homedir);
ecore_file_symlink("../.e/e/fileman/favorites/root.desktop", buf);
snprintf(buf, sizeof(buf), "%s/Desktop/tmp.desktop", homedir);
ecore_file_symlink("../.e/e/fileman/favorites/tmp.desktop", buf);
// save the config now everyone has modified it
e_config_save();