diff options
author | Jonny Lamb <jonnylamb@gnome.org> | 2010-12-09 02:24:47 +0800 |
---|---|---|
committer | Jonny Lamb <jonnylamb@gnome.org> | 2011-01-26 22:16:02 +0800 |
commit | be94217540e1b927afabd3b2ff1dbfe0655e7aff (patch) | |
tree | 2aa2aac1c4738521edf92e88ae63ac243573935b /src | |
parent | 8e6b4e72bedc7c864722543d81645af0c80ffb79 (diff) | |
download | gsoc2013-empathy-be94217540e1b927afabd3b2ff1dbfe0655e7aff.tar gsoc2013-empathy-be94217540e1b927afabd3b2ff1dbfe0655e7aff.tar.gz gsoc2013-empathy-be94217540e1b927afabd3b2ff1dbfe0655e7aff.tar.bz2 gsoc2013-empathy-be94217540e1b927afabd3b2ff1dbfe0655e7aff.tar.lz gsoc2013-empathy-be94217540e1b927afabd3b2ff1dbfe0655e7aff.tar.xz gsoc2013-empathy-be94217540e1b927afabd3b2ff1dbfe0655e7aff.tar.zst gsoc2013-empathy-be94217540e1b927afabd3b2ff1dbfe0655e7aff.zip |
status-icon: don't show notifications for auth events
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-status-icon.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c index 190498a0a..8ab641a6b 100644 --- a/src/empathy-status-icon.c +++ b/src/empathy-status-icon.c @@ -330,6 +330,10 @@ status_icon_event_added_cb (EmpathyEventManager *manager, return; } + if (event->type == EMPATHY_EVENT_TYPE_AUTH) { + return; + } + DEBUG ("New event %p", event); priv->event = event; @@ -358,6 +362,10 @@ status_icon_event_removed_cb (EmpathyEventManager *manager, return; } + if (event->type == EMPATHY_EVENT_TYPE_AUTH) { + return; + } + priv->event = empathy_event_manager_get_top_event (priv->event_manager); status_icon_update_tooltip (icon); @@ -385,6 +393,10 @@ status_icon_event_updated_cb (EmpathyEventManager *manager, return; } + if (event->type == EMPATHY_EVENT_TYPE_AUTH) { + return; + } + if (empathy_notify_manager_notification_is_enabled (priv->notify_mgr)) { status_icon_update_notification (icon); } |