[gnome-software] overview: Show categories in 4 columns



commit d4964d56fb200d346e665ef54eb00795128050c0
Author: Kalev Lember <kalevlember gmail com>
Date:   Sun Aug 3 15:25:52 2014 +0200

    overview: Show categories in 4 columns
    
    https://bugzilla.gnome.org/show_bug.cgi?id=727998

 src/gs-shell-overview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-shell-overview.c b/src/gs-shell-overview.c
index c5fdaff..422f693 100644
--- a/src/gs-shell-overview.c
+++ b/src/gs-shell-overview.c
@@ -221,7 +221,7 @@ gs_shell_overview_get_categories_cb (GObject *source_object,
                tile = gs_category_tile_new (cat);
                g_signal_connect (tile, "clicked",
                                  G_CALLBACK (category_tile_clicked), shell);
-               gtk_grid_attach (GTK_GRID (priv->grid_categories), tile, i % 3, i / 3, 1, 1);
+               gtk_grid_attach (GTK_GRID (priv->grid_categories), tile, i % 4, i / 4, 1, 1);
                i++;
                has_category = TRUE;
        }


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