diff --git a/data/gtk/preferences.blp b/data/gtk/preferences.blp index 18cf01f..fbc2dee 100644 --- a/data/gtk/preferences.blp +++ b/data/gtk/preferences.blp @@ -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; } diff --git a/src/importer/sources/legendary_source.py b/src/importer/sources/legendary_source.py index 496a742..b6b15cb 100644 --- a/src/importer/sources/legendary_source.py +++ b/src/importer/sources/legendary_source.py @@ -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={ diff --git a/src/preferences.py b/src/preferences.py index 2e83ae0..97061a6 100644 --- a/src/preferences.py +++ b/src/preferences.py @@ -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()