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>
This commit is contained in:
Florian Müllner 2021-01-29 23:42:30 +01:00
parent a9cbbd8017
commit 3ff71ac40e

View File

@ -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': {},