From edb01a11f65339773330fd447f20c675c22aa651 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Thu, 13 Oct 2011 01:40:39 +0200 Subject: [PATCH] Speed dial should honor close-buttons-left value --- data/speeddial-head.html | 2 +- midori/midori-view.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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); -- 2.39.5