Make library-rows a guint
This commit is contained in:
@@ -116,7 +116,7 @@
|
|||||||
<key name="sgdb-animated" type="b">
|
<key name="sgdb-animated" type="b">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
</key>
|
</key>
|
||||||
<key name="library-rows" type="i">
|
<key name="library-rows" type="u">
|
||||||
<default>0</default>
|
<default>0</default>
|
||||||
</key>
|
</key>
|
||||||
</schema>
|
</schema>
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ class CartridgesWindow(Adw.ApplicationWindow):
|
|||||||
style_manager.connect("notify::high-contrast", self.set_details_view_opacity)
|
style_manager.connect("notify::high-contrast", self.set_details_view_opacity)
|
||||||
|
|
||||||
# Allow for a custom number of rows for the library
|
# Allow for a custom number of rows for the library
|
||||||
if shared.schema.get_int("library-rows"):
|
if shared.schema.get_uint("library-rows"):
|
||||||
shared.schema.bind(
|
shared.schema.bind(
|
||||||
"library-rows",
|
"library-rows",
|
||||||
self.library,
|
self.library,
|
||||||
|
|||||||
Reference in New Issue
Block a user