[empathy] Add a tooltip on smileys with the text it hides



commit afbb47911c8b0e82bb05fdb826fc056d9da10555
Author: Xavier Claessens <xclaesse gmail com>
Date:   Thu Jul 17 15:24:44 2008 +0200

    Add a tooltip on smileys with the text it hides

 libempathy-gtk/empathy-theme-adium.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c
index 2b2adda..8767440 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);
 			}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]