From 3ff71ac40e2136d74755f9f5bc17963cb53f4a3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 29 Jan 2021 23:42:30 +0100 Subject: [PATCH] iconGrid: Use correct default values in pspecs The defaults are set in the code right now, but this is about to change. Part-of: --- 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 2e7b1bee2..beb01d758 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': {},