diff options
-rw-r--r-- | mail/em-account-editor.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c index d9aa637f24..21dea7dff7 100644 --- a/mail/em-account-editor.c +++ b/mail/em-account-editor.c @@ -2329,8 +2329,9 @@ emae_setup_settings (EMAccountEditorService *service) path = camel_local_settings_get_path ( CAMEL_LOCAL_SETTINGS (settings)); - gtk_file_chooser_set_filename ( - GTK_FILE_CHOOSER (service->pathentry), path); + if (path != NULL && *path != '\0') + gtk_file_chooser_set_filename ( + GTK_FILE_CHOOSER (service->pathentry), path); } g_object_unref (settings); |