diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-10-02 22:23:18 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-10-02 22:23:18 +0800 |
commit | b9bf149030bb5d3f141b1a05c6ac34a807b355a4 (patch) | |
tree | 4a629ddb6008bbde6861ca485a26df5a7f867b06 /embed | |
parent | 3ecbea1e22f2544b4f0e62bd23bb510f8730b53d (diff) | |
download | gsoc2013-epiphany-b9bf149030bb5d3f141b1a05c6ac34a807b355a4.tar gsoc2013-epiphany-b9bf149030bb5d3f141b1a05c6ac34a807b355a4.tar.gz gsoc2013-epiphany-b9bf149030bb5d3f141b1a05c6ac34a807b355a4.tar.bz2 gsoc2013-epiphany-b9bf149030bb5d3f141b1a05c6ac34a807b355a4.tar.lz gsoc2013-epiphany-b9bf149030bb5d3f141b1a05c6ac34a807b355a4.tar.xz gsoc2013-epiphany-b9bf149030bb5d3f141b1a05c6ac34a807b355a4.tar.zst gsoc2013-epiphany-b9bf149030bb5d3f141b1a05c6ac34a807b355a4.zip |
Recognise "Desktop" special downloads directory. Fixes bug #152926.
2004-10-02 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/MozDownload.cpp:
* lib/ephy-file-helpers.c: (ephy_file_downloads_dir),
(ephy_file_desktop_dir):
* lib/ephy-file-helpers.h:
* src/prefs-dialog.c: (get_download_button_label):
Recognise "Desktop" special downloads directory. Fixes bug #152926.
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/MozDownload.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp index 975b852ca..4e26b7347 100644 --- a/embed/mozilla/MozDownload.cpp +++ b/embed/mozilla/MozDownload.cpp @@ -590,6 +590,11 @@ GetFilePath (const char *filename) g_free (download_dir); download_dir = ephy_file_downloads_dir (); } + else if (download_dir && strcmp (download_dir, "Desktop") == 0) + { + g_free (download_dir); + download_dir = ephy_file_desktop_dir (); + } else if (download_dir) { char *converted_dp; |