[evolution] Bug #674380 - Deselected contact keeps preview filled



commit 68978b5a021e73f44a05a19b6492469c3da13f79
Author: Dan VrÃtil <dvratil redhat com>
Date:   Mon Apr 23 09:07:10 2012 +0200

    Bug #674380 - Deselected contact keeps preview filled

 addressbook/gui/widgets/eab-contact-display.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/gui/widgets/eab-contact-display.c b/addressbook/gui/widgets/eab-contact-display.c
index 151fee3..2486fd7 100644
--- a/addressbook/gui/widgets/eab-contact-display.c
+++ b/addressbook/gui/widgets/eab-contact-display.c
@@ -190,8 +190,10 @@ contact_formatting_finished (GObject *object,
 static void
 load_contact (EABContactDisplay *display)
 {
-	if (!display->priv->contact)
+	if (!display->priv->contact) {
+		e_web_view_clear (E_WEB_VIEW (display));
 		return;
+	}
 
 	eab_contact_formatter_format_contact_async (
 		display->priv->formatter,



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