[gnome-shell] iconGrid: Use correct default values in pspecs



commit 3ff71ac40e2136d74755f9f5bc17963cb53f4a3d
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Jan 29 23:42:30 2021 +0100

    iconGrid: Use correct default values in pspecs
    
    The defaults are set in the code right now, but this is about to change.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1611>

 js/ui/iconGrid.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js
index 2e7b1bee27..beb01d7587 100644
--- a/js/ui/iconGrid.js
+++ b/js/ui/iconGrid.js
@@ -266,7 +266,7 @@ var IconGridLayout = GObject.registerClass({
         'columns-per-page': GObject.ParamSpec.int('columns-per-page',
             'Columns per page', 'Columns per page',
             GObject.ParamFlags.READWRITE,
-            1, GLib.MAXINT32, 1),
+            1, GLib.MAXINT32, 6),
         'fixed-icon-size': GObject.ParamSpec.int('fixed-icon-size',
             'Fixed icon size', 'Fixed icon size',
             GObject.ParamFlags.READWRITE,
@@ -316,7 +316,7 @@ var IconGridLayout = GObject.registerClass({
         'rows-per-page': GObject.ParamSpec.int('rows-per-page',
             'Rows per page', 'Rows per page',
             GObject.ParamFlags.READWRITE,
-            1, GLib.MAXINT32, 1),
+            1, GLib.MAXINT32, 4),
     },
     Signals: {
         'pages-changed': {},


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