112 lines
2.4 KiB
Plaintext
112 lines
2.4 KiB
Plaintext
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
template PreferencesWindow : Adw.PreferencesWindow {
|
|
search-enabled: false;
|
|
default-height: 500;
|
|
|
|
Adw.PreferencesPage page {
|
|
Adw.PreferencesGroup {
|
|
title: _("General");
|
|
|
|
Adw.ActionRow {
|
|
title: _("Exit After Launching Games");
|
|
|
|
Switch exit_after_launch_switch {
|
|
valign: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
Adw.PreferencesGroup steam_group {
|
|
title: "Steam";
|
|
|
|
Adw.ActionRow {
|
|
title: _("Steam Install Location");
|
|
subtitle: _("Directory to use when importing games");
|
|
|
|
Button steam_file_chooser_button {
|
|
icon-name: "folder-symbolic";
|
|
valign: center;
|
|
}
|
|
}
|
|
Adw.ActionRow {
|
|
title: _("Extra Steam Libraries");
|
|
subtitle: _("Select other directories where you have Steam games installed");
|
|
|
|
|
|
Revealer steam_clear_button_revealer {
|
|
reveal-child: false;
|
|
transition-type: slide_left;
|
|
Button steam_clear_button {
|
|
label: _("Clear");
|
|
valign: center;
|
|
halign: end;
|
|
|
|
styles [
|
|
"destructive-action",
|
|
]
|
|
}
|
|
}
|
|
|
|
Button steam_extra_file_chooser_button {
|
|
icon-name: "folder-new-symbolic";
|
|
valign: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
Adw.PreferencesGroup heroic_group {
|
|
title: "Heroic";
|
|
|
|
Adw.ActionRow {
|
|
title: _("Heroic Install Location");
|
|
subtitle: _("Directory to use when importing games");
|
|
|
|
Button heroic_file_chooser_button {
|
|
icon-name: "folder-symbolic";
|
|
valign: center;
|
|
}
|
|
}
|
|
|
|
Adw.ActionRow {
|
|
title: _("Import Epic Games");
|
|
|
|
Switch import_epic_games_switch {
|
|
valign: center;
|
|
}
|
|
}
|
|
|
|
Adw.ActionRow {
|
|
title: _("Import GOG Games");
|
|
|
|
Switch import_gog_games_switch {
|
|
valign: center;
|
|
}
|
|
}
|
|
|
|
Adw.ActionRow {
|
|
title: _("Import Sideloaded Games");
|
|
|
|
Switch import_sideload_games_switch {
|
|
valign: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
Adw.PreferencesGroup bottles_group {
|
|
title: "Bottles";
|
|
|
|
Adw.ActionRow {
|
|
title: _("Bottles Install Location");
|
|
subtitle: _("Directory to use when importing games");
|
|
|
|
Button bottles_file_chooser_button {
|
|
icon-name: "folder-symbolic";
|
|
valign: center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|