aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@0d.be>2009-06-16 15:48:45 +0800
committerFrédéric Péters <fpeters@0d.be>2009-06-23 18:08:50 +0800
commit14e24fa32cf6059e9a5cedadc86cef8dea7575fd (patch)
tree04f63efe94315c94f7ba6813ac9d0eb6b780a005 /src
parent9b0797d859e999bf28145ed77aa13b3970b2a9a3 (diff)
downloadgsoc2013-empathy-14e24fa32cf6059e9a5cedadc86cef8dea7575fd.tar
gsoc2013-empathy-14e24fa32cf6059e9a5cedadc86cef8dea7575fd.tar.gz
gsoc2013-empathy-14e24fa32cf6059e9a5cedadc86cef8dea7575fd.tar.bz2
gsoc2013-empathy-14e24fa32cf6059e9a5cedadc86cef8dea7575fd.tar.lz
gsoc2013-empathy-14e24fa32cf6059e9a5cedadc86cef8dea7575fd.tar.xz
gsoc2013-empathy-14e24fa32cf6059e9a5cedadc86cef8dea7575fd.tar.zst
gsoc2013-empathy-14e24fa32cf6059e9a5cedadc86cef8dea7575fd.zip
Do not blink status icon for notification only events
Diffstat (limited to 'src')
-rw-r--r--src/empathy-status-icon.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index 9c2194880..921738443 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -229,13 +229,14 @@ status_icon_event_added_cb (EmpathyEventManager *manager,
DEBUG ("New event %p", event);
priv->event = event;
- priv->showing_event_icon = TRUE;
-
- status_icon_update_icon (icon);
- status_icon_update_tooltip (icon);
+ if (event->must_ack) {
+ priv->showing_event_icon = TRUE;
+ status_icon_update_icon (icon);
+ status_icon_update_tooltip (icon);
+ }
status_icon_update_notification (icon);
- if (!priv->blink_timeout) {
+ if (!priv->blink_timeout && priv->showing_event_icon) {
priv->blink_timeout = g_timeout_add (BLINK_TIMEOUT,
(GSourceFunc) status_icon_blink_timeout_cb,
icon);