🎨 Improved Legendary source
- Fixed wrong library iteration - Fixed executable format - Added toggle in the preferences - Added legendary to on_import_action
This commit is contained in:
@@ -76,6 +76,10 @@ class PreferencesWindow(Adw.PreferencesWindow):
|
||||
itch_action_row = Gtk.Template.Child()
|
||||
itch_file_chooser_button = Gtk.Template.Child()
|
||||
|
||||
legendary_expander_row = Gtk.Template.Child()
|
||||
legendary_action_row = Gtk.Template.Child()
|
||||
legendary_file_chooser_button = Gtk.Template.Child()
|
||||
|
||||
sgdb_key_group = Gtk.Template.Child()
|
||||
sgdb_key_entry_row = Gtk.Template.Child()
|
||||
sgdb_switch = Gtk.Template.Child()
|
||||
@@ -156,6 +160,9 @@ class PreferencesWindow(Adw.PreferencesWindow):
|
||||
# itch
|
||||
self.create_preferences(self, "itch", "itch", True)
|
||||
|
||||
# Legendary
|
||||
self.create_preferences(self, "legendary", "Legendary", True)
|
||||
|
||||
# SteamGridDB
|
||||
def sgdb_key_changed(*_args):
|
||||
shared.schema.set_string("sgdb-key", self.sgdb_key_entry_row.get_text())
|
||||
|
||||
Reference in New Issue
Block a user