From 2b2df20dd087be8d6719bc93dcefdfa37a22abb4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Forysiuk?= Date: Tue, 3 May 2011 14:06:43 +0200 Subject: [PATCH] Use proper markup for empty dials --- midori/midori-view.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/midori/midori-view.c b/midori/midori-view.c index e2df2a0a..789ca10c 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -3970,7 +3970,8 @@ prepare_speed_dial_html (MidoriView* view) else position = g_strdup (""); - if (g_key_file_has_group (key_file, dial_entry)) + if (g_key_file_has_group (key_file, dial_entry) + && g_strcmp0 (g_key_file_get_string (key_file, dial_entry, "uri", NULL), "#")) { gchar* slot_id = g_strdup_printf ("s%d", slot); gchar* uri = g_key_file_get_string (key_file, dial_entry, "uri", NULL); -- 2.39.5