mirror of
https://github.com/an-anime-team/sleepy-launcher.git
synced 2024-11-29 17:39:11 +03:00
82691f70f9
- renamed "page_*" to some actual pages names - added voice packages selection page - made "Advanced" button working. It shows default paths selection page
102 lines
2.5 KiB
Text
102 lines
2.5 KiB
Text
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
Gtk.Box page {
|
|
orientation: vertical;
|
|
hexpand: true;
|
|
|
|
Adw.PreferencesPage {
|
|
Adw.PreferencesGroup {
|
|
Gtk.Label {
|
|
label: "You're missing some dependencies!";
|
|
margin-top: 32;
|
|
|
|
styles ["title-1"]
|
|
}
|
|
|
|
Gtk.Label {
|
|
label: "You must install some packages to your system before continue installation process";
|
|
|
|
wrap: true;
|
|
justify: center;
|
|
margin-top: 32;
|
|
}
|
|
}
|
|
|
|
Adw.PreferencesGroup {
|
|
vexpand: true;
|
|
valign: center;
|
|
|
|
Gtk.Box {
|
|
orientation: vertical;
|
|
spacing: 16;
|
|
|
|
Gtk.Box pkg_pacman {
|
|
orientation: vertical;
|
|
spacing: 16;
|
|
visible: false;
|
|
|
|
Gtk.Label {
|
|
label: "Arch (pacman)";
|
|
}
|
|
|
|
Gtk.Entry {
|
|
text: "sudo pacman -Syu git xdelta3";
|
|
editable: false;
|
|
}
|
|
}
|
|
|
|
Gtk.Box pkg_apt {
|
|
orientation: vertical;
|
|
spacing: 16;
|
|
visible: false;
|
|
|
|
Gtk.Label {
|
|
label: "Debian / Ubuntu (apt)";
|
|
}
|
|
|
|
Gtk.Entry {
|
|
text: "sudo apt install git xdelta3";
|
|
editable: false;
|
|
}
|
|
}
|
|
|
|
Gtk.Box pkg_dnf {
|
|
orientation: vertical;
|
|
spacing: 16;
|
|
visible: false;
|
|
|
|
Gtk.Label {
|
|
label: "Fedora (dnf)";
|
|
}
|
|
|
|
Gtk.Entry {
|
|
text: "sudo dnf install git xdelta";
|
|
editable: false;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
Adw.PreferencesGroup {
|
|
vexpand: true;
|
|
valign: center;
|
|
|
|
Gtk.Box {
|
|
orientation: horizontal;
|
|
spacing: 8;
|
|
halign: center;
|
|
|
|
Gtk.Button check_button {
|
|
label: "Check";
|
|
|
|
styles ["suggested-action"]
|
|
}
|
|
|
|
Gtk.Button exit_button {
|
|
label: "Exit";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|