From 1f99c1fe9d6910119d9035132be561ee018ea37c Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 6 May 2011 01:59:28 +0200 Subject: [PATCH] Render empty speed dial shortcuts as Add icons And only show the icons if scripts are enabled. --- midori/midori-view.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/midori/midori-view.c b/midori/midori-view.c index f18c6d1c..8b72b805 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -4040,12 +4040,12 @@ prepare_speed_dial_html (MidoriView* view) else { g_string_append_printf (markup, - "
" - "\n" - "

%d

\n

" - "
\n

\n", - position, slot, slot, slot); + "
", position, slot); + if (katze_object_get_boolean (view->settings, "enable-scripts")) + g_string_append_printf (markup, + "" + "", slot); + g_string_append_printf (markup, "
"); } slot++; -- 2.39.5