aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-select-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer-select-file.c')
-rw-r--r--composer/e-msg-composer-select-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/composer/e-msg-composer-select-file.c b/composer/e-msg-composer-select-file.c
index 94f5c87ce8..2775791cd6 100644
--- a/composer/e-msg-composer-select-file.c
+++ b/composer/e-msg-composer-select-file.c
@@ -106,8 +106,8 @@ create_file_selection (EMsgComposer *composer)
info = g_new (FileSelectionInfo, 1);
- chdir (g_get_home_dir ());
widget = gtk_file_selection_new (NULL);
+ gtk_file_selection_set_filename (GTK_FILE_SELECTION (widget), g_get_home_dir ());
gtk_window_set_wmclass (GTK_WINDOW (widget), "fileselection",
"Evolution:composer");
ok_button = GTK_FILE_SELECTION (widget)->ok_button;