Fix Legendary location labels

This commit is contained in:
kramo
2023-07-01 13:58:47 +02:00
parent 339ec1c20a
commit bbfe478ac3
3 changed files with 5 additions and 5 deletions

View File

@@ -216,10 +216,10 @@ template $PreferencesWindow : Adw.PreferencesWindow {
title: _("Legendary");
show-enable-switch: true;
Adw.ActionRow legendary_data_action_row {
Adw.ActionRow legendary_config_action_row {
title: _("Install Location");
Button legendary_data_file_chooser_button {
Button legendary_config_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
}

View File

@@ -95,7 +95,7 @@ class LegendarySource(Source):
available_on = set(("linux", "win32"))
iterator_class = LegendarySourceIterator
data_location: Location = Location(
config_location: Location = Location(
schema_key="legendary-location",
candidates=(shared.config_dir / "legendary",),
paths={

View File

@@ -79,8 +79,8 @@ class PreferencesWindow(Adw.PreferencesWindow):
itch_config_file_chooser_button = Gtk.Template.Child()
legendary_expander_row = Gtk.Template.Child()
legendary_data_action_row = Gtk.Template.Child()
legendary_data_file_chooser_button = Gtk.Template.Child()
legendary_config_action_row = Gtk.Template.Child()
legendary_config_file_chooser_button = Gtk.Template.Child()
flatpak_expander_row = Gtk.Template.Child()
flatpak_data_action_row = Gtk.Template.Child()