]> spindle.queued.net Git - midori/commitdiff
Revert "Render empty speed dial shortcuts as Add icons"
authorChristian Dywan <christian@twotoasts.de>
Sat, 14 May 2011 23:35:55 +0000 (01:35 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sat, 14 May 2011 23:35:55 +0000 (01:35 +0200)
midori/midori-view.c

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