[evolution/webkit: 129/171] Reload EMailDisplay when View->Character Encoding changes (fix #667542)"



commit 40dfcbedec8fc5ddc3f4f134374f38c0a2035ccc
Author: Dan VrÃtil <dvratil redhat com>
Date:   Tue Jan 24 10:50:26 2012 +0100

    Reload EMailDisplay when View->Character Encoding changes (fix #667542)"

 mail/e-mail-display.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/mail/e-mail-display.c b/mail/e-mail-display.c
index af997fd..8ddc6ba 100644
--- a/mail/e-mail-display.c
+++ b/mail/e-mail-display.c
@@ -1161,6 +1161,8 @@ e_mail_display_set_formatter (EMailDisplay *display,
                 G_CALLBACK (formatter_image_loading_policy_changed_cb), display);
 	g_signal_connect_swapped (formatter, "redraw-requested",
 		G_CALLBACK (e_mail_display_reload), display);
+        g_signal_connect_swapped (formatter, "notify::charset",
+                G_CALLBACK (e_mail_display_reload), display);
 
 	g_object_notify (G_OBJECT (display), "formatter");
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]