aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:07:32 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:07:32 +0800
commit111068fd8b34e36ffbfd9614001918bb31388e73 (patch)
treebf94c22f26036a99586a9cdfff095bbf3615ea76 /src
parentdc196007a66fb30402ff03b7d222450ecfde8cca (diff)
downloadgsoc2013-empathy-111068fd8b34e36ffbfd9614001918bb31388e73.tar
gsoc2013-empathy-111068fd8b34e36ffbfd9614001918bb31388e73.tar.gz
gsoc2013-empathy-111068fd8b34e36ffbfd9614001918bb31388e73.tar.bz2
gsoc2013-empathy-111068fd8b34e36ffbfd9614001918bb31388e73.tar.lz
gsoc2013-empathy-111068fd8b34e36ffbfd9614001918bb31388e73.tar.xz
gsoc2013-empathy-111068fd8b34e36ffbfd9614001918bb31388e73.tar.zst
gsoc2013-empathy-111068fd8b34e36ffbfd9614001918bb31388e73.zip
Don't update the event if the notification can't be shown.
svn path=/trunk/; revision=2284
Diffstat (limited to 'src')
-rw-r--r--src/empathy-status-icon.c5
1 files changed, 4 insertions, 1 deletions
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);
}