Speed dial should honor close-buttons-left value
This commit is contained in:
parent
bb7c900144
commit
edb01a11f6
2 changed files with 5 additions and 1 deletions
|
@ -78,7 +78,7 @@
|
||||||
width: 27px;
|
width: 27px;
|
||||||
height: 27px;
|
height: 27px;
|
||||||
top: -14px;
|
top: -14px;
|
||||||
left: -14px;
|
right: -14px;
|
||||||
background: url(res://close.png);
|
background: url(res://close.png);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
|
@ -3754,6 +3754,10 @@ prepare_speed_dial_html (MidoriView* view)
|
||||||
sokoke_is_app_or_private () ? "" : "</noscript>",
|
sokoke_is_app_or_private () ? "" : "</noscript>",
|
||||||
slot_size + 1, slot_size - 4);
|
slot_size + 1, slot_size - 4);
|
||||||
|
|
||||||
|
if (katze_object_get_boolean (view->settings, "close-buttons-left"))
|
||||||
|
g_string_append_printf (markup,
|
||||||
|
"<style>.cross { left: -14px }</style>");
|
||||||
|
|
||||||
while (slot <= slot_count)
|
while (slot <= slot_count)
|
||||||
{
|
{
|
||||||
gchar* dial_entry = g_strdup_printf ("Dial %d", slot);
|
gchar* dial_entry = g_strdup_printf ("Dial %d", slot);
|
||||||
|
|
Loading…
Reference in a new issue