aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-event-manager.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-30 15:51:29 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-04-02 06:04:22 +0800
commitc81f08fb5baebdd855089f05828f1c68fbc74893 (patch)
tree82e4058c540084c7f0fb128b78ed141f5853f99a /src/empathy-event-manager.c
parentaaf4798dd5eb270c95964441cf29768e580ef80b (diff)
downloadgsoc2013-empathy-c81f08fb5baebdd855089f05828f1c68fbc74893.tar
gsoc2013-empathy-c81f08fb5baebdd855089f05828f1c68fbc74893.tar.gz
gsoc2013-empathy-c81f08fb5baebdd855089f05828f1c68fbc74893.tar.bz2
gsoc2013-empathy-c81f08fb5baebdd855089f05828f1c68fbc74893.tar.lz
gsoc2013-empathy-c81f08fb5baebdd855089f05828f1c68fbc74893.tar.xz
gsoc2013-empathy-c81f08fb5baebdd855089f05828f1c68fbc74893.tar.zst
gsoc2013-empathy-c81f08fb5baebdd855089f05828f1c68fbc74893.zip
set a category on presence notifications
Diffstat (limited to 'src/empathy-event-manager.c')
-rw-r--r--src/empathy-event-manager.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index e2ad93db3..342d3e11e 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -1121,7 +1121,8 @@ event_manager_presence_changed_cb (EmpathyContact *contact,
EMPATHY_PREFS_NOTIFICATIONS_CONTACT_SIGNOUT))
{
event_manager_add (manager, NULL, contact,
- EMPATHY_EVENT_TYPE_PRESENCE, EMPATHY_IMAGE_AVATAR_DEFAULT,
+ EMPATHY_EVENT_TYPE_PRESENCE_OFFLINE,
+ EMPATHY_IMAGE_AVATAR_DEFAULT,
empathy_contact_get_alias (contact), _("Disconnected"),
NULL, NULL, NULL);
}
@@ -1141,7 +1142,8 @@ event_manager_presence_changed_cb (EmpathyContact *contact,
EMPATHY_PREFS_NOTIFICATIONS_CONTACT_SIGNIN))
{
event_manager_add (manager, NULL, contact,
- EMPATHY_EVENT_TYPE_PRESENCE, EMPATHY_IMAGE_AVATAR_DEFAULT,
+ EMPATHY_EVENT_TYPE_PRESENCE_ONLINE,
+ EMPATHY_IMAGE_AVATAR_DEFAULT,
empathy_contact_get_alias (contact), _("Connected"),
NULL, NULL, NULL);
}