aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.c
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 /src/window-commands.c
parent8b723af53aa4bd4b45f68f4035afd08091aecee4 (diff)
downloadgsoc2013-epiphany-f7be5f2113a67ae741146181bc163e63f027297d.tar.gz
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 'src/window-commands.c')
-rw-r--r--src/window-commands.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index 4714edfcb..8ab797c55 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -739,11 +739,12 @@ save_temp_source (EphyEmbed *embed)
const char *static_temp_dir;
- static_temp_dir = ephy_file_tmp_directory ();
+ static_temp_dir = ephy_file_tmp_dir ();
if (static_temp_dir == NULL)
{
return;
}
+
base = g_build_filename (static_temp_dir, "viewsourceXXXXXX", NULL);
tmp = ephy_file_tmp_filename (base, "html");
g_free (base);