]> git.0d.be Git - empathy.git/commitdiff
Add a tooltip on smileys with the text it hides
authorXavier Claessens <xclaesse@gmail.com>
Thu, 17 Jul 2008 13:24:44 +0000 (15:24 +0200)
committerXavier Claessens <xclaesse@gmail.com>
Thu, 11 Jun 2009 16:06:29 +0000 (18:06 +0200)
libempathy-gtk/empathy-theme-adium.c

index 2b2adda5f9961c687e5fda29be0b9fc62ab16ee8..876744018174d31f2cb71cf9b7f8bc9ae8b2aa63 100644 (file)
@@ -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);
                        }