diff options
Diffstat (limited to 'mail/e-mail-config-assistant.c')
-rw-r--r-- | mail/e-mail-config-assistant.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/e-mail-config-assistant.c b/mail/e-mail-config-assistant.c index 16d0e2e42a..70f60e66ea 100644 --- a/mail/e-mail-config-assistant.c +++ b/mail/e-mail-config-assistant.c @@ -602,6 +602,13 @@ mail_config_assistant_constructed (GObject *object) e_source_backend_set_backend_name ( backend_extension, backend_name); + /* Keep display names synchronized. */ + g_object_bind_property ( + identity_source, "display-name", + scratch_source, "display-name", + G_BINDING_BIDIRECTIONAL | + G_BINDING_SYNC_CREATE); + /* We always pass NULL for the collection argument. * The backend generates its own scratch collection * source if implements the new_collection() method. */ @@ -672,6 +679,13 @@ mail_config_assistant_constructed (GObject *object) e_source_backend_set_backend_name ( backend_extension, backend_name); + /* Keep display names synchronized. */ + g_object_bind_property ( + identity_source, "display-name", + scratch_source, "display-name", + G_BINDING_BIDIRECTIONAL | + G_BINDING_SYNC_CREATE); + /* We always pass NULL for the collection argument. * The backend generates its own scratch collection * source if implements the new_collection() method. */ |