From 616633d5022c29a0a121b19079ed03fa142ad13b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Forysiuk?= Date: Sat, 15 Sep 2012 01:21:52 +0200 Subject: [PATCH] Javascript clean-up in speed dial head --- data/speeddial-head.html | 83 +++++++++++++++++++++++++----------- midori/midori-speeddial.vala | 10 ++--- 2 files changed, 63 insertions(+), 30 deletions(-) diff --git a/data/speeddial-head.html b/data/speeddial-head.html index b40fbb7a..89cb96bb 100644 --- a/data/speeddial-head.html +++ b/data/speeddial-head.html @@ -122,43 +122,44 @@ - +
diff --git a/midori/midori-speeddial.vala b/midori/midori-speeddial.vala index ac039c82..392257d3 100644 --- a/midori/midori-speeddial.vala +++ b/midori/midori-speeddial.vala @@ -241,11 +241,11 @@ namespace Midori { } markup.append_printf ("""
- + -
%s
+
%s
""", - slot, slot, uri, encoded ?? "", title, slot, title ?? ""); + slot, uri, encoded ?? "", title, title ?? ""); } else if (tile != "settings") keyfile.remove_group (tile); @@ -255,10 +255,10 @@ namespace Midori { markup.append_printf ("""
- +
%s
""", - next_slot, next_slot, _("Click to add a shortcut")); + next_slot, _("Click to add a shortcut")); markup.append_printf ("\n\n\n"); html = markup.str; } -- 2.39.5