Log out / lock screen buttons

This commit is contained in:
Lucy 2022-02-21 13:02:50 -05:00
parent 329c6006c3
commit 1f65d44998
No known key found for this signature in database
GPG key ID: EBC517FAD666BBF1
3 changed files with 51 additions and 1 deletions

View file

@ -28,6 +28,7 @@ fn build_ui(application: &gtk4::Application) {
.default_height(300)
.build();
let session_section = ui::session::build();
let system_section = ui::system::build();
view! {
main_box = gtk4::Box {
@ -38,6 +39,7 @@ fn build_ui(application: &gtk4::Application) {
set_margin_start: 24,
set_margin_end: 24,
append: first_separator = &Separator {},
append: &session_section,
append: second_separator = &Separator {},
append: &system_section
}