aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-04-23 15:07:10 +0800
committerDan Vrátil <dvratil@redhat.com>2012-04-23 15:07:10 +0800
commit68978b5a021e73f44a05a19b6492469c3da13f79 (patch)
tree82e23fca2146f6a9baefef3f6ee10e2fa11ff062 /addressbook
parentd571c56260d30a00a03112b8bdfff463d4a24b81 (diff)
downloadgsoc2013-evolution-68978b5a021e73f44a05a19b6492469c3da13f79.tar
gsoc2013-evolution-68978b5a021e73f44a05a19b6492469c3da13f79.tar.gz
gsoc2013-evolution-68978b5a021e73f44a05a19b6492469c3da13f79.tar.bz2
gsoc2013-evolution-68978b5a021e73f44a05a19b6492469c3da13f79.tar.lz
gsoc2013-evolution-68978b5a021e73f44a05a19b6492469c3da13f79.tar.xz
gsoc2013-evolution-68978b5a021e73f44a05a19b6492469c3da13f79.tar.zst
gsoc2013-evolution-68978b5a021e73f44a05a19b6492469c3da13f79.zip
Bug #674380 - Deselected contact keeps preview filled
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/gui/widgets/eab-contact-display.c4
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 151fee3483..2486fd72f1 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,