Commit 62a0991f authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Make the size of featured categories accurate

We want to use the size when prepopulating grids,
so don't lie about it.
parent 8e6e7acb
......@@ -224,17 +224,13 @@ gs_plugin_add_categories (GsPlugin *plugin,
id = gs_category_get_id (parent);
if (g_strcmp0 (last_id, id) == 0) {
cat = gs_category_new (parent, "featured", _("Featured"));
/* always show these, even if small */
gs_category_increment_size (cat);
gs_category_increment_size (cat);
gs_category_increment_size (cat);
gs_category_increment_size (cat);
gs_category_add_subcategory (parent, cat);
break;
}
}
}
if (cat)
gs_category_increment_size (cat);
}
return TRUE;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment