aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r--src/empathy-chat-window.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 2c97301a5..c6b23b68d 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -858,13 +858,11 @@ chat_window_new_message_cb (EmpathyChat *chat,
if (empathy_contact_is_user (sender) != FALSE) {
empathy_sound_play (GTK_WIDGET (priv->dialog),
- EMPATHY_PREFS_SOUNDS_OUTGOING_MESSAGE,
- "message-sent-instant", _("Sent an instant message"));
+ EMPATHY_SOUND_MESSAGE_OUTGOING);
} else {
if ((!has_focus || priv->current_chat != chat)) {
empathy_sound_play (GTK_WIDGET (priv->dialog),
- EMPATHY_PREFS_SOUNDS_INCOMING_MESSAGE,
- "message-new-instant", _("Received an instant message"));
+ EMPATHY_SOUND_MESSAGE_INCOMING);
}
}