aboutsummaryrefslogtreecommitdiffstats
path: root/src/prefs-dialog.c
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/prefs-dialog.c
parent59c38b2fabd382321fbcf1e4a8db70c8c59016ec (diff)
downloadgsoc2013-epiphany-5d5a8b49ca1742cc34161ba73287540f779795a5.tar.gz
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/prefs-dialog.c')
-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);