From c607a65d1fdc38aec5f3dd41ec4ea5dd04a00e9c Mon Sep 17 00:00:00 2001 From: kramo Date: Sat, 26 Aug 2023 17:54:30 +0200 Subject: [PATCH] Make library-rows a guint --- data/hu.kramo.Cartridges.gschema.xml.in | 2 +- src/window.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/hu.kramo.Cartridges.gschema.xml.in b/data/hu.kramo.Cartridges.gschema.xml.in index 9da3915..40d5944 100644 --- a/data/hu.kramo.Cartridges.gschema.xml.in +++ b/data/hu.kramo.Cartridges.gschema.xml.in @@ -116,7 +116,7 @@ false - + 0 diff --git a/src/window.py b/src/window.py index 785fe30..52a27ea 100644 --- a/src/window.py +++ b/src/window.py @@ -115,7 +115,7 @@ class CartridgesWindow(Adw.ApplicationWindow): style_manager.connect("notify::high-contrast", self.set_details_view_opacity) # 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( "library-rows", self.library,