diff --git a/data/hu.kramo.Cartridges.gschema.xml.in b/data/hu.kramo.Cartridges.gschema.xml.in index 25d17841a..a31e95a7c 100644 --- a/data/hu.kramo.Cartridges.gschema.xml.in +++ b/data/hu.kramo.Cartridges.gschema.xml.in @@ -1,6 +1,6 @@ - + false @@ -68,7 +68,7 @@ false - + 1110 diff --git a/meson.build b/meson.build index b4d85ad71..fb7451092 100644 --- a/meson.build +++ b/meson.build @@ -13,10 +13,10 @@ pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.proje profile = get_option('profile') if profile == 'development' app_id = 'hu.kramo.Cartridges.Devel' - prefix = '/hu/kramo/Cartridges/Devel/' + prefix = '/hu/kramo/Cartridges/Devel' elif profile == 'release' app_id = 'hu.kramo.Cartridges' - prefix = '/hu/kramo/Cartridges/' + prefix = '/hu/kramo/Cartridges' endif conf = configuration_data() diff --git a/src/details_window.py b/src/details_window.py index ef0e7b6b1..2d03cc5cc 100644 --- a/src/details_window.py +++ b/src/details_window.py @@ -32,7 +32,7 @@ from .steamgriddb import SGDBSave -@Gtk.Template(resource_path=shared.PREFIX + "gtk/details_window.ui") +@Gtk.Template(resource_path=shared.PREFIX + "/gtk/details_window.ui") class DetailsWindow(Adw.Window): __gtype_name__ = "DetailsWindow" diff --git a/src/game.py b/src/game.py index b04593593..d0c68af8d 100644 --- a/src/game.py +++ b/src/game.py @@ -30,7 +30,7 @@ from .game_cover import GameCover -@Gtk.Template(resource_path=shared.PREFIX + "gtk/game.ui") +@Gtk.Template(resource_path=shared.PREFIX + "/gtk/game.ui") class Game(Gtk.Box): __gtype_name__ = "Game" @@ -201,7 +201,7 @@ def launch(self): creationflags=subprocess.CREATE_NEW_PROCESS_GROUP if os.name == "nt" else 0, ) - if shared.state_schema.get_boolean("exit-after-launch"): + if shared.schema.get_boolean("exit-after-launch"): self.app.quit() # The variable is the title of the game diff --git a/src/game_cover.py b/src/game_cover.py index 857659c27..46065f92f 100644 --- a/src/game_cover.py +++ b/src/game_cover.py @@ -32,7 +32,7 @@ class GameCover: anim_iter = None placeholder_pixbuf = GdkPixbuf.Pixbuf.new_from_resource_at_scale( - shared.PREFIX + "library_placeholder.svg", 400, 600, False + shared.PREFIX + "/library_placeholder.svg", 400, 600, False ) def __init__(self, pictures, path=None): @@ -93,7 +93,7 @@ def get_blurred(self): ) else: self.blurred = GdkPixbuf.Pixbuf.new_from_resource_at_scale( - shared.PREFIX + "library_placeholder.svg", 2, 2, False + shared.PREFIX + "/library_placeholder.svg", 2, 2, False ) self.luminance = (0.1, 0.8) diff --git a/src/preferences.py b/src/preferences.py index e6156839c..adbd83311 100644 --- a/src/preferences.py +++ b/src/preferences.py @@ -33,7 +33,7 @@ from .steam_importer import steam_installed -@Gtk.Template(resource_path=shared.PREFIX + "gtk/preferences.ui") +@Gtk.Template(resource_path=shared.PREFIX + "/gtk/preferences.ui") class PreferencesWindow(Adw.PreferencesWindow): __gtype_name__ = "PreferencesWindow" diff --git a/src/window.py b/src/window.py index 19b7ce2c0..6faede981 100644 --- a/src/window.py +++ b/src/window.py @@ -26,7 +26,7 @@ from .game import Game -@Gtk.Template(resource_path=shared.PREFIX + "gtk/window.ui") +@Gtk.Template(resource_path=shared.PREFIX + "/gtk/window.ui") class CartridgesWindow(Adw.ApplicationWindow): __gtype_name__ = "CartridgesWindow"