diff options
author | Peter Williams <peterw@src.gnome.org> | 2000-07-12 23:11:52 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2000-07-12 23:11:52 +0800 |
commit | 8f6fcc14fbc67170f7abaecabb3a05c3e491ad39 (patch) | |
tree | 512daeebfd9d860cc1fb298c231b08bc751b78a0 /mail/mail-display.c | |
parent | e10afbe35597c4c2fc6cc16afabc81409613180d (diff) | |
download | gsoc2013-evolution-8f6fcc14fbc67170f7abaecabb3a05c3e491ad39.tar gsoc2013-evolution-8f6fcc14fbc67170f7abaecabb3a05c3e491ad39.tar.gz gsoc2013-evolution-8f6fcc14fbc67170f7abaecabb3a05c3e491ad39.tar.bz2 gsoc2013-evolution-8f6fcc14fbc67170f7abaecabb3a05c3e491ad39.tar.lz gsoc2013-evolution-8f6fcc14fbc67170f7abaecabb3a05c3e491ad39.tar.xz gsoc2013-evolution-8f6fcc14fbc67170f7abaecabb3a05c3e491ad39.tar.zst gsoc2013-evolution-8f6fcc14fbc67170f7abaecabb3a05c3e491ad39.zip |
Fix bug #390: default attachment save dir should be ~
svn path=/trunk/; revision=4108
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r-- | mail/mail-display.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c index 06a319372a..c324b7cbc1 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -110,9 +110,9 @@ save_data (const char *cid, CamelMimeMessage *message) p = strrchr (filename, '/'); if (p) - filename = g_strdup_printf ("%s%s", evolution_dir, p); + filename = g_strdup_printf ("%s%s", g_get_home_dir(), p); else { - filename = g_strdup_printf ("%s/%s", evolution_dir, + filename = g_strdup_printf ("%s/%s", g_get_home_dir(), filename); } @@ -122,7 +122,7 @@ save_data (const char *cid, CamelMimeMessage *message) *p = '_'; } } else - filename = g_strdup_printf ("%s/attachment", evolution_dir); + filename = g_strdup_printf ("%s/attachment", g_get_home_dir()); file_select = GTK_FILE_SELECTION (gtk_file_selection_new ("Save Attachment")); gtk_file_selection_set_filename (file_select, filename); |