Results from gettext aren't static

SVN revision: 45362
This commit is contained in:
Sebastian Dransfeld 2010-01-20 19:49:39 +00:00
parent 99fc74f7c5
commit db6819ae2a
2 changed files with 3 additions and 3 deletions

View File

@ -3194,7 +3194,7 @@ _e_fm2_dev_path_map(const char *dev, const char *path)
*/
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;
}
else
@ -9748,7 +9748,7 @@ _e_fm2_volume_icon_update(E_Volume *v)
if (!v || !v->storage) return;
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",
ecore_file_file_get(v->storage->udi), v->partition_number);

View File

@ -52,7 +52,7 @@ wizard_page_apply(E_Wizard_Page *pg)
// FIXME: efm favorites linked to desktop should be an option in another
// wizard page
// ~/Desktop
e_user_homedir_concat_static(buf, _("Desktop"));
e_user_homedir_concat(buf, _("Desktop"));
ecore_file_mkpath(buf);
e_user_homedir_snprintf(buf, sizeof(buf), "%s/%s", _("Desktop"), "home.desktop");
ecore_file_symlink("../.e/e/fileman/favorites/home.desktop", buf);