diff options
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index e91e1f38cd..2c0815073a 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -1138,8 +1138,8 @@ 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_file_selection_set_filename (filesel, g_get_home_dir ()); gtk_object_set_data_full (GTK_OBJECT (filesel), "uids", uids, save_msg_destroy); gtk_object_set_data (GTK_OBJECT (filesel), "folder", fb->folder); gtk_signal_connect (GTK_OBJECT (filesel->ok_button), |