]> spindle.queued.net Git - midori/commitdiff
Show page title in tooltips on speeddial items
authorPaweł Forysiuk <tuxator@o2.pl>
Wed, 8 Aug 2012 20:14:56 +0000 (22:14 +0200)
committerChristian Dywan <christian@twotoasts.de>
Wed, 8 Aug 2012 23:02:56 +0000 (01:02 +0200)
midori/midori-view.c

index 6d77319dc2e6a1604ac1a9068a151ac1e6b9e43b..4fd9ce391c40cf37d14458303a34c3debe6f0096 100644 (file)
@@ -4327,9 +4327,9 @@ prepare_speed_dial_html (MidoriView* view,
             g_string_append_printf (markup,
                 "<div class=\"shortcut\" id=\"s%d\"><div class=\"preview\">"
                 "<a class=\"cross\" href=\"#\" onclick='clearShortcut(\"s%d\");'></a>"
-                "<a href=\"%s\"><img src=\"data:image/png;base64,%s\"></a>"
+                "<a href=\"%s\"><img src=\"data:image/png;base64,%s\" title='%s'></a>"
                 "</div><div class=\"title\" onclick='renameShortcut(\"s%d\");'>%s</div></div>\n",
-                slot, slot, uri, encoded ? encoded : "", slot, title ? title : "");
+                slot, slot, uri, encoded ? encoded : "", title, slot, title ? title : "");
 
             g_free (title);
             g_free (encoded);