From: Paweł Forysiuk Date: Tue, 3 May 2011 12:06:43 +0000 (+0200) Subject: Use proper markup for empty dials X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b2df20dd087be8d6719bc93dcefdfa37a22abb4;p=midori Use proper markup for empty dials --- 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);