[gnome-software/mwleeds/hardcoded-pwa-list] fixup! gs-category-page: Put web apps in a separate section
- From: Phaedrus Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/mwleeds/hardcoded-pwa-list] fixup! gs-category-page: Put web apps in a separate section
- Date: Mon, 16 May 2022 21:46:27 +0000 (UTC)
commit 41d8e0749ad6e8621018d22633aae24497b14884
Author: Phaedrus Leeds <mwleeds protonmail com>
Date: Mon May 16 12:56:12 2022 -0700
fixup! gs-category-page: Put web apps in a separate section
src/gs-category-page.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/gs-category-page.c b/src/gs-category-page.c
index ceb79f92d..e60c4c6b1 100644
--- a/src/gs-category-page.c
+++ b/src/gs-category-page.c
@@ -399,7 +399,9 @@ gs_category_page_load_category (GsCategoryPage *self)
gs_category_page_add_placeholders (self, GTK_FLOW_BOX (self->category_detail_box),
MIN (30, gs_category_get_size (self->subcategory)));
gs_category_page_add_placeholders (self, GTK_FLOW_BOX (self->recently_updated_flow_box),
MAX_RECENTLY_UPDATED_APPS);
- gs_category_page_add_placeholders (self, GTK_FLOW_BOX (self->web_apps_flow_box), 30);
+
+ if (gs_plugin_loader_get_enabled (self->plugin_loader, "epiphany"))
+ gs_category_page_add_placeholders (self, GTK_FLOW_BOX (self->web_apps_flow_box), 12);
if (featured_subcat != NULL) {
/* set up the placeholders as having the featured category is a good
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]