diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-07 00:49:01 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-07 00:49:01 +0800 |
commit | 35f3ccfb4d7934dbe3192e9d5e418fe7cb392176 (patch) | |
tree | 6002960fd501559c78475443174d91c5ce0bfa42 /src/empathy-chat-window.c | |
parent | 9cd97524aad5e22138407fa59ab4be651fe6468d (diff) | |
download | gsoc2013-empathy-35f3ccfb4d7934dbe3192e9d5e418fe7cb392176.tar gsoc2013-empathy-35f3ccfb4d7934dbe3192e9d5e418fe7cb392176.tar.gz gsoc2013-empathy-35f3ccfb4d7934dbe3192e9d5e418fe7cb392176.tar.bz2 gsoc2013-empathy-35f3ccfb4d7934dbe3192e9d5e418fe7cb392176.tar.lz gsoc2013-empathy-35f3ccfb4d7934dbe3192e9d5e418fe7cb392176.tar.xz gsoc2013-empathy-35f3ccfb4d7934dbe3192e9d5e418fe7cb392176.tar.zst gsoc2013-empathy-35f3ccfb4d7934dbe3192e9d5e418fe7cb392176.zip |
Update empathy_sound_play () to be nicer to use and centralize the list
of sounds we support.
svn path=/trunk/; revision=2082
Diffstat (limited to 'src/empathy-chat-window.c')
-rw-r--r-- | src/empathy-chat-window.c | 6 |
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); } } |