aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/MozDownload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/MozDownload.cpp')
-rw-r--r--embed/mozilla/MozDownload.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp
index d6f278940..904bcd501 100644
--- a/embed/mozilla/MozDownload.cpp
+++ b/embed/mozilla/MozDownload.cpp
@@ -49,6 +49,7 @@
#include "mozilla-download.h"
#include "eel-gconf-extensions.h"
#include "ephy-prefs.h"
+#include "ephy-file-helpers.h"
#include <libgnomevfs/gnome-vfs-utils.h>
#include <glib/gi18n.h>
@@ -549,8 +550,7 @@ GetFilePath (const char *filename)
}
else if (g_utf8_collate (download_dir, "Downloads") == 0)
{
- tmp = g_build_filename (g_get_home_dir (), "Desktop",
- _("Downloads"), NULL);
+ tmp = ephy_file_downloads_dir ();
g_free (download_dir);
download_dir = tmp;
}