diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-04-12 01:06:49 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-04-12 01:06:49 +0800 |
commit | f48134d1d5ab176c858939cf8e5537f107662cea (patch) | |
tree | 7c01edb3dc448879ff23271579ae56801b6f2224 /mail/mail-callbacks.c | |
parent | 4652efde7ffec9b99d1cd04473897cf48a69a293 (diff) | |
download | gsoc2013-evolution-f48134d1d5ab176c858939cf8e5537f107662cea.tar gsoc2013-evolution-f48134d1d5ab176c858939cf8e5537f107662cea.tar.gz gsoc2013-evolution-f48134d1d5ab176c858939cf8e5537f107662cea.tar.bz2 gsoc2013-evolution-f48134d1d5ab176c858939cf8e5537f107662cea.tar.lz gsoc2013-evolution-f48134d1d5ab176c858939cf8e5537f107662cea.tar.xz gsoc2013-evolution-f48134d1d5ab176c858939cf8e5537f107662cea.tar.zst gsoc2013-evolution-f48134d1d5ab176c858939cf8e5537f107662cea.zip |
Use the homedir as the default filename.
2001-04-11 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (save_msg): Use the homedir as the default
filename.
svn path=/trunk/; revision=9244
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), |