]> spindle.queued.net Git - midori/commitdiff
Use proper markup for empty dials
authorPaweł Forysiuk <tuxator@o2.pl>
Tue, 3 May 2011 12:06:43 +0000 (14:06 +0200)
committerChristian Dywan <christian@twotoasts.de>
Tue, 3 May 2011 18:42:59 +0000 (20:42 +0200)
midori/midori-view.c

index e2df2a0a8eb536b3ef5c60797db3dd15585f6d5f..789ca10c8013316c3ecd81d5000439cb294cee6d 100644 (file)
@@ -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);