aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-10-02 22:25:00 +0800
committerChristian Persch <chpe@src.gnome.org>2004-10-02 22:25:00 +0800
commit5d5a8b49ca1742cc34161ba73287540f779795a5 (patch)
treefcccf2693cdf8ca82c44003184d5fc9f1f624e6e /src
parent59c38b2fabd382321fbcf1e4a8db70c8c59016ec (diff)
downloadgsoc2013-epiphany-5d5a8b49ca1742cc34161ba73287540f779795a5.tar
gsoc2013-epiphany-5d5a8b49ca1742cc34161ba73287540f779795a5.tar.gz
gsoc2013-epiphany-5d5a8b49ca1742cc34161ba73287540f779795a5.tar.bz2
gsoc2013-epiphany-5d5a8b49ca1742cc34161ba73287540f779795a5.tar.lz
gsoc2013-epiphany-5d5a8b49ca1742cc34161ba73287540f779795a5.tar.xz
gsoc2013-epiphany-5d5a8b49ca1742cc34161ba73287540f779795a5.tar.zst
gsoc2013-epiphany-5d5a8b49ca1742cc34161ba73287540f779795a5.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 'src')
-rw-r--r--src/prefs-dialog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 35155f4e9..abd0d7da6 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -1112,6 +1112,10 @@ get_download_button_label ()
{
label = g_strdup (_("Desktop"));
}
+ else if (g_utf8_collate (key, "Desktop") == 0)
+ {
+ label = g_strdup (_("Desktop"));
+ }
else
{
label = g_strdup (key);