Revert "Render empty speed dial shortcuts as Add icons"

This commit is contained in:
Christian Dywan 2011-05-15 01:35:55 +02:00
parent fad55dc8a1
commit 476c20aae4

View file

@ -4043,12 +4043,12 @@ prepare_speed_dial_html (MidoriView* view)
else else
{ {
g_string_append_printf (markup, g_string_append_printf (markup,
"<div class=\"shortcut%s\" id=\"s%d\">", position, slot); "<div class=\"shortcut%s\" id=\"s%d\">"
if (katze_object_get_boolean (view->settings, "enable-scripts")) "\n<a href=\"#\" onclick='javascript:return"
g_string_append_printf (markup, " getAction(\"s%d\");'>"
"<a href=\"#\" onclick='javascript:return getAction(\"s%d\");'>" "<h1>%d</h1>\n<h4><span></span></h4>"
"<img src=\"stock://6/gtk-add\"></a>", slot); "</a>\n<p></p></div>\n",
g_string_append_printf (markup, "</div>"); position, slot, slot, slot);
} }
slot++; slot++;