aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2013-02-04 19:07:46 +0800
committerMilan Crha <mcrha@redhat.com>2013-02-04 19:07:46 +0800
commit5d4f9d8c2abb80a0390953f2331a38f8f487e0a4 (patch)
tree419dd3ca24dd1bcda19234dd062382c06b64f41f /e-util
parentd0f1fee4d491ea8372d7b0810e22d01e77910df9 (diff)
downloadgsoc2013-evolution-5d4f9d8c2abb80a0390953f2331a38f8f487e0a4.tar
gsoc2013-evolution-5d4f9d8c2abb80a0390953f2331a38f8f487e0a4.tar.gz
gsoc2013-evolution-5d4f9d8c2abb80a0390953f2331a38f8f487e0a4.tar.bz2
gsoc2013-evolution-5d4f9d8c2abb80a0390953f2331a38f8f487e0a4.tar.lz
gsoc2013-evolution-5d4f9d8c2abb80a0390953f2331a38f8f487e0a4.tar.xz
gsoc2013-evolution-5d4f9d8c2abb80a0390953f2331a38f8f487e0a4.tar.zst
gsoc2013-evolution-5d4f9d8c2abb80a0390953f2331a38f8f487e0a4.zip
Bug #693132 - Editing a signature does not refresh preview after save
Diffstat (limited to 'e-util')
-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));
}
}