aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-ft-manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-ft-manager.c b/libempathy-gtk/empathy-ft-manager.c
index 734f6fd8e..1dfdc8f51 100644
--- a/libempathy-gtk/empathy-ft-manager.c
+++ b/libempathy-gtk/empathy-ft-manager.c
@@ -1090,7 +1090,8 @@ ft_manager_create_save_dialog (ReceiveResponseData *response_data)
folder = g_strdup (g_get_user_special_dir (G_USER_DIRECTORY_DOWNLOAD));
}
- gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (widget), folder);
+ if (folder)
+ gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (widget), folder);
gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (widget),
empathy_file_get_filename (response_data->file));