[gnome-software: 6/24] gs-category-page: Show all featured apps in the flow box




commit 9d5150a45c91d6d87b3e854fb2332ed493cb9eef
Author: Philip Withnall <pwithnall endlessos org>
Date:   Wed Apr 21 16:34:32 2021 +0100

    gs-category-page: Show all featured apps in the flow box
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 src/gs-category-page.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-category-page.c b/src/gs-category-page.c
index c1811481b..97d8ad365 100644
--- a/src/gs-category-page.c
+++ b/src/gs-category-page.c
@@ -143,7 +143,7 @@ gs_category_page_get_featured_apps_cb (GObject *source_object,
        /* randomize so we show different featured apps every time */
        gs_app_list_randomize (list);
 
-       for (guint i = 0; i < 3; ++i) {
+       for (guint i = 0; i < gs_app_list_length (list); ++i) {
                app = gs_app_list_index (list, i);
                tile = gs_summary_tile_new (app);
                g_signal_connect (tile, "clicked",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]