From 111068fd8b34e36ffbfd9614001918bb31388e73 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 30 Jan 2009 17:07:32 +0000 Subject: Don't update the event if the notification can't be shown. svn path=/trunk/; revision=2284 --- src/empathy-status-icon.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c index ea407fd81..9ea211784 100644 --- a/src/empathy-status-icon.c +++ b/src/empathy-status-icon.c @@ -272,7 +272,10 @@ status_icon_event_updated_cb (EmpathyEventManager *manager, return; } - status_icon_update_notification (icon); + if (empathy_notification_should_show ()) { + status_icon_update_notification (icon); + } + status_icon_update_tooltip (icon); } -- cgit v1.2.3