aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-window.c
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2012-03-28 17:39:51 +0800
committerWill Thompson <will.thompson@collabora.co.uk>2012-03-28 17:41:57 +0800
commited85fe70b223a778b5d7bdca6b4fe8d5ac327959 (patch)
tree636c97a08143b39440a226efdc96159ba67f7a0c /src/empathy-chat-window.c
parent9420ba8ea42efb6d5e1e044d68cc1ba571120314 (diff)
downloadgsoc2013-empathy-ed85fe70b223a778b5d7bdca6b4fe8d5ac327959.tar
gsoc2013-empathy-ed85fe70b223a778b5d7bdca6b4fe8d5ac327959.tar.gz
gsoc2013-empathy-ed85fe70b223a778b5d7bdca6b4fe8d5ac327959.tar.bz2
gsoc2013-empathy-ed85fe70b223a778b5d7bdca6b4fe8d5ac327959.tar.lz
gsoc2013-empathy-ed85fe70b223a778b5d7bdca6b4fe8d5ac327959.tar.xz
gsoc2013-empathy-ed85fe70b223a778b5d7bdca6b4fe8d5ac327959.tar.zst
gsoc2013-empathy-ed85fe70b223a778b5d7bdca6b4fe8d5ac327959.zip
Move category name constants to #defines
This is kind of overkill to avoid me typoing the two names used in empathy-chat-window.c, but, hey.
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r--src/empathy-chat-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 0008fed38..ac3584f34 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -1570,8 +1570,8 @@ chat_window_show_or_update_notification (EmpathyChatWindow *window,
{
const gchar *category = empathy_chat_is_room (chat)
- ? "x-empathy.im.mentioned"
- : "im.received";
+ ? EMPATHY_NOTIFICATION_CATEGORY_MENTIONED
+ : EMPATHY_NOTIFICATION_CATEGORY_CHAT;
notify_notification_set_hint (notification,
EMPATHY_NOTIFY_MANAGER_CAP_CATEGORY,
g_variant_new_string (category));