aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/e-mail-signature-editor.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/e-util/e-mail-signature-editor.c b/e-util/e-mail-signature-editor.c
index 801a61ffc7..bb1fc9536f 100644
--- a/e-util/e-mail-signature-editor.c
+++ b/e-util/e-mail-signature-editor.c
@@ -281,6 +281,17 @@ action_save_and_close_cb (GtkAction *action,
/* Only destroy the editor if the save was successful. */
} else {
+ ESourceRegistry *registry;
+
+ registry = e_mail_signature_editor_get_registry (editor);
+
+ /* Only make sure that the 'source-changed' is called,
+ thus the preview of the signature is updated on save.
+ It is not called when only signature body is changed
+ (and ESource properties are left unchanged).
+ */
+ g_signal_emit_by_name (registry, "source-changed", source);
+
gtk_widget_destroy (GTK_WIDGET (editor));
}
}