From: Christian Dywan Date: Wed, 12 Oct 2011 23:40:39 +0000 (+0200) Subject: Speed dial should honor close-buttons-left value X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edb01a11f65339773330fd447f20c675c22aa651;p=midori Speed dial should honor close-buttons-left value --- diff --git a/data/speeddial-head.html b/data/speeddial-head.html index 301640cc..e34ac2d9 100644 --- a/data/speeddial-head.html +++ b/data/speeddial-head.html @@ -78,7 +78,7 @@ width: 27px; height: 27px; top: -14px; - left: -14px; + right: -14px; background: url(res://close.png); position: absolute; cursor: pointer; diff --git a/midori/midori-view.c b/midori/midori-view.c index 8e2086ca..60f91ff2 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -3754,6 +3754,10 @@ prepare_speed_dial_html (MidoriView* view) sokoke_is_app_or_private () ? "" : "", slot_size + 1, slot_size - 4); + if (katze_object_get_boolean (view->settings, "close-buttons-left")) + g_string_append_printf (markup, + ""); + while (slot <= slot_count) { gchar* dial_entry = g_strdup_printf ("Dial %d", slot);