aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-01-25 08:38:47 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-01-25 08:38:47 +0800
commitf7be5f2113a67ae741146181bc163e63f027297d (patch)
tree70382299467598663e02436011701a6364cbd7ce /embed
parent8b723af53aa4bd4b45f68f4035afd08091aecee4 (diff)
downloadgsoc2013-epiphany-f7be5f2113a67ae741146181bc163e63f027297d.tar
gsoc2013-epiphany-f7be5f2113a67ae741146181bc163e63f027297d.tar.gz
gsoc2013-epiphany-f7be5f2113a67ae741146181bc163e63f027297d.tar.bz2
gsoc2013-epiphany-f7be5f2113a67ae741146181bc163e63f027297d.tar.lz
gsoc2013-epiphany-f7be5f2113a67ae741146181bc163e63f027297d.tar.xz
gsoc2013-epiphany-f7be5f2113a67ae741146181bc163e63f027297d.tar.zst
gsoc2013-epiphany-f7be5f2113a67ae741146181bc163e63f027297d.zip
Add a way to get the downloads dir with a comment for translators. Use dir
2004-01-25 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-file-helpers.c: (ephy_file_tmp_dir), (ephy_file_downloads_dir): * lib/ephy-file-helpers.h: Add a way to get the downloads dir with a comment for translators. Use dir instead of directory consistently with the other functions. * embed/mozilla/MozDownload.cpp: * src/prefs-dialog.c: (get_download_button_label): * src/window-commands.c: (save_temp_source): Use the helper.
Diffstat (limited to 'embed')
-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;
}