diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 1 | ||||
-rw-r--r-- | mail/mail-display.c | 3 |
3 files changed, 10 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 7573e55182..2a345352ec 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2001-04-11 Jeffrey Stedfast <fejj@ximian.com> + + * mail-display.c (save_cb): Change to the user's home dir before + opening the filesel. + + * mail-callbacks.c (save_msg): Same. + 2001-04-11 Christopher James Lahey <clahey@ximian.com> * message-list.c (save_tree_state, message_list_setup_etree): Save diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 0fc6596f88..e91e1f38cd 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -1138,6 +1138,7 @@ save_msg (GtkWidget *widget, gpointer user_data) else title = _("Save Messages As..."); + chdir (g_get_home_dir ()); filesel = GTK_FILE_SELECTION (gtk_file_selection_new (title)); gtk_object_set_data_full (GTK_OBJECT (filesel), "uids", uids, save_msg_destroy); gtk_object_set_data (GTK_OBJECT (filesel), "folder", fb->folder); diff --git a/mail/mail-display.c b/mail/mail-display.c index 734182d176..5310e0a64f 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -188,7 +188,8 @@ save_cb (GtkWidget *widget, gpointer user_data) CamelMimePart *part = gtk_object_get_data (user_data, "CamelMimePart"); GtkFileSelection *file_select; char *filename; - + + chdir (g_get_home_dir ()); filename = make_safe_filename (g_get_home_dir (), part); file_select = GTK_FILE_SELECTION ( gtk_file_selection_new (_("Save Attachment"))); |