aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2008-07-17 21:24:44 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-06-12 00:06:29 +0800
commitafbb47911c8b0e82bb05fdb826fc056d9da10555 (patch)
treeefe15b4aa3e3726daad8c89775266e357e37dc3d /libempathy-gtk
parent7655246b73cf1eedb8ede01e8d0c156f197dcae7 (diff)
downloadgsoc2013-empathy-afbb47911c8b0e82bb05fdb826fc056d9da10555.tar
gsoc2013-empathy-afbb47911c8b0e82bb05fdb826fc056d9da10555.tar.gz
gsoc2013-empathy-afbb47911c8b0e82bb05fdb826fc056d9da10555.tar.bz2
gsoc2013-empathy-afbb47911c8b0e82bb05fdb826fc056d9da10555.tar.lz
gsoc2013-empathy-afbb47911c8b0e82bb05fdb826fc056d9da10555.tar.xz
gsoc2013-empathy-afbb47911c8b0e82bb05fdb826fc056d9da10555.tar.zst
gsoc2013-empathy-afbb47911c8b0e82bb05fdb826fc056d9da10555.zip
Add a tooltip on smileys with the text it hides
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-theme-adium.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c
index 2b2adda5f..876744018 100644
--- a/libempathy-gtk/empathy-theme-adium.c
+++ b/libempathy-gtk/empathy-theme-adium.c
@@ -197,8 +197,8 @@ theme_adium_parse_body (EmpathyThemeAdium *theme,
smiley = l->data;
if (smiley->path) {
g_string_append_printf (string,
- "<img src=\"%s\"/ title=\"%s\"/>",
- smiley->path, smiley->str);
+ "<abbr title='%s'><img src=\"%s\"/ alt=\"%s\"/></abbr>",
+ smiley->str, smiley->path, smiley->str);
} else {
g_string_append (string, smiley->str);
}