parent
99fc74f7c5
commit
db6819ae2a
|
@ -3194,7 +3194,7 @@ _e_fm2_dev_path_map(const char *dev, const char *path)
|
||||||
*/
|
*/
|
||||||
if (strcmp(path, "/") == 0)
|
if (strcmp(path, "/") == 0)
|
||||||
{
|
{
|
||||||
if (e_user_homedir_concat_static(buf, _("Desktop")) >= sizeof(buf))
|
if (e_user_homedir_concat(buf, _("Desktop")) >= sizeof(buf))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -9748,7 +9748,7 @@ _e_fm2_volume_icon_update(E_Volume *v)
|
||||||
if (!v || !v->storage) return;
|
if (!v || !v->storage) return;
|
||||||
|
|
||||||
e_user_dir_snprintf(fav, sizeof(fav), "fileman/favorites");
|
e_user_dir_snprintf(fav, sizeof(fav), "fileman/favorites");
|
||||||
e_user_homedir_concat_static(desk, _("Desktop"));
|
e_user_homedir_concat(desk, _("Desktop"));
|
||||||
snprintf(file, sizeof(file), "|%s_%d.desktop",
|
snprintf(file, sizeof(file), "|%s_%d.desktop",
|
||||||
ecore_file_file_get(v->storage->udi), v->partition_number);
|
ecore_file_file_get(v->storage->udi), v->partition_number);
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ wizard_page_apply(E_Wizard_Page *pg)
|
||||||
// FIXME: efm favorites linked to desktop should be an option in another
|
// FIXME: efm favorites linked to desktop should be an option in another
|
||||||
// wizard page
|
// wizard page
|
||||||
// ~/Desktop
|
// ~/Desktop
|
||||||
e_user_homedir_concat_static(buf, _("Desktop"));
|
e_user_homedir_concat(buf, _("Desktop"));
|
||||||
ecore_file_mkpath(buf);
|
ecore_file_mkpath(buf);
|
||||||
e_user_homedir_snprintf(buf, sizeof(buf), "%s/%s", _("Desktop"), "home.desktop");
|
e_user_homedir_snprintf(buf, sizeof(buf), "%s/%s", _("Desktop"), "home.desktop");
|
||||||
ecore_file_symlink("../.e/e/fileman/favorites/home.desktop", buf);
|
ecore_file_symlink("../.e/e/fileman/favorites/home.desktop", buf);
|
||||||
|
|
Loading…
Reference in New Issue