aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-05-20 13:38:06 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2011-05-25 09:02:31 +0800
commit044b8a712d1b6c411c887c5c56bb3fdb8ce8de53 (patch)
treeb073e3318163fc5b5b9820f5a136c433f89e9504 /libempathy-gtk
parent37ce3315fa4a2a1b12aaf78890b6fe12ab5c81a9 (diff)
downloadgsoc2013-empathy-044b8a712d1b6c411c887c5c56bb3fdb8ce8de53.tar
gsoc2013-empathy-044b8a712d1b6c411c887c5c56bb3fdb8ce8de53.tar.gz
gsoc2013-empathy-044b8a712d1b6c411c887c5c56bb3fdb8ce8de53.tar.bz2
gsoc2013-empathy-044b8a712d1b6c411c887c5c56bb3fdb8ce8de53.tar.lz
gsoc2013-empathy-044b8a712d1b6c411c887c5c56bb3fdb8ce8de53.tar.xz
gsoc2013-empathy-044b8a712d1b6c411c887c5c56bb3fdb8ce8de53.tar.zst
gsoc2013-empathy-044b8a712d1b6c411c887c5c56bb3fdb8ce8de53.zip
Set the edited icon for edited messages in the log viewer
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-log-window.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index 9b094652d..e3505cd9b 100644
--- a/libempathy-gtk/empathy-log-window.c
+++ b/libempathy-gtk/empathy-log-window.c
@@ -786,6 +786,13 @@ get_icon_for_event (TplEvent *event)
else if (tpl_entity_get_entity_type (receiver) == TPL_ENTITY_SELF)
icon = EMPATHY_IMAGE_CALL_INCOMING;
}
+ else if (TPL_IS_TEXT_EVENT (event))
+ {
+ TplTextEvent *text = TPL_TEXT_EVENT (event);
+
+ if (!tp_str_empty (tpl_text_event_get_supersedes_token (text)))
+ icon = EMPATHY_IMAGE_EDIT_MESSAGE;
+ }
return icon;
}