diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2011-04-07 09:42:12 +0800 |
---|---|---|
committer | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2011-05-05 14:31:26 +0800 |
commit | a0069b64b55bd239eb7d4678fb9792b1359210dc (patch) | |
tree | 635f541229f0671ac6d0cafdd1a5725366f77186 /src | |
parent | 6a5fd794b64d48898c3b941b64c6431f55419939 (diff) | |
download | gsoc2013-empathy-a0069b64b55bd239eb7d4678fb9792b1359210dc.tar gsoc2013-empathy-a0069b64b55bd239eb7d4678fb9792b1359210dc.tar.gz gsoc2013-empathy-a0069b64b55bd239eb7d4678fb9792b1359210dc.tar.bz2 gsoc2013-empathy-a0069b64b55bd239eb7d4678fb9792b1359210dc.tar.lz gsoc2013-empathy-a0069b64b55bd239eb7d4678fb9792b1359210dc.tar.xz gsoc2013-empathy-a0069b64b55bd239eb7d4678fb9792b1359210dc.tar.zst gsoc2013-empathy-a0069b64b55bd239eb7d4678fb9792b1359210dc.zip |
Set EMPATHY_IMAGE_SMS on sms channels
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-chat-window.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 94f93e2bf..31cc07040 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -675,6 +675,9 @@ chat_window_update_chat_tab_full (EmpathyChat *chat, else if (remote_contact && empathy_chat_is_composing (chat)) { icon_name = EMPATHY_IMAGE_TYPING; } + else if (empathy_chat_is_sms_channel (chat)) { + icon_name = EMPATHY_IMAGE_SMS; + } else if (remote_contact) { icon_name = empathy_icon_name_for_contact (remote_contact); } else { @@ -2227,6 +2230,9 @@ empathy_chat_window_add_chat (EmpathyChatWindow *window, g_signal_connect (chat, "notify::remote-contact", G_CALLBACK (chat_window_chat_notify_cb), NULL); + g_signal_connect (chat, "notify::sms-channel", + G_CALLBACK (chat_window_chat_notify_cb), + NULL); chat_window_chat_notify_cb (chat); gtk_notebook_append_page_menu (GTK_NOTEBOOK (priv->notebook), child, label, popup_label); |