[gnome-software] overview: Pre-create empty tiles for rotating recommended apps



commit 51c0e745708e0eea5aa5cc14d27f9a124e271171
Author: Kalev Lember <kalevlember gmail com>
Date:   Mon Aug 11 15:55:43 2014 +0200

    overview: Pre-create empty tiles for rotating recommended apps

 src/gs-shell-overview.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-shell-overview.c b/src/gs-shell-overview.c
index 17abadd..63dcd3e 100644
--- a/src/gs-shell-overview.c
+++ b/src/gs-shell-overview.c
@@ -412,6 +412,9 @@ gs_shell_overview_setup (GsShellOverview *shell_overview,
        for (i = 0; i < N_TILES; i++) {
                tile = gs_popular_tile_new (NULL);
                gtk_box_pack_start (GTK_BOX (priv->box_popular), tile, TRUE, TRUE, 0);
+
+               tile = gs_popular_tile_new (NULL);
+               gtk_box_pack_start (GTK_BOX (priv->box_popular_rotating), tile, TRUE, TRUE, 0);
        }
 }
 


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