]> git.0d.be Git - empathy.git/commit
Show MUC highlight notifications in Gnome Shell
authorWill Thompson <will.thompson@collabora.co.uk>
Wed, 28 Mar 2012 09:06:14 +0000 (10:06 +0100)
committerWill Thompson <will.thompson@collabora.co.uk>
Wed, 28 Mar 2012 09:41:56 +0000 (10:41 +0100)
commit9420ba8ea42efb6d5e1e044d68cc1ba571120314
tree614e0ad06f85e41be03a10bb97ba78bea965d86e
parent8ec865b790b07375792a3a6f7c485e1cfcb83253
Show MUC highlight notifications in Gnome Shell

Gnome Shell filters out notifications from Empathy whose category is
something the Shell shows its own notification for. However, we
previously used the im.received category for notifications about being
highlighted in a MUC, as well as for incoming 1-1 IM notifications. The
Shell filters these out these notifications, because it shows its own
1-1 notifications, but it doesn't show MUC highlight notifications.

So this patch sets a different category on notifications from chat
rooms, which makes them show up in Gnome Shell. I'm prefixing the
category with x-empathy, following the comment above
get_category_for_event_type in empathy-notifications-approver.c.

This shouldn't confuse other notification daemons, unless they were also
filtering out im.received but also showed their own highlight
notifications (which I find unlikely).

https://bugzilla.gnome.org/show_bug.cgi?id=652800
src/empathy-chat-window.c