feat: init adwaita

This commit is contained in:
Ashley Wulber 2022-08-10 10:48:20 -04:00
parent d03966ae42
commit d9212b2285
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
23 changed files with 85 additions and 10 deletions

View file

@ -8,6 +8,7 @@ edition = "2021"
cosmic-panel-config = {git = "https://github.com/pop-os/cosmic-panel", features = ["gtk4"] }
cascade = "1.0.0"
gtk4 = { git = "https://github.com/gtk-rs/gtk4-rs", features = ["v4_4"] }
adw = { git = "https://gitlab.gnome.org/World/Rust/libadwaita-rs", package = "libadwaita"}
once_cell = "1.9.0"
pretty_env_logger = "0.4"
anyhow = "1.0.50"

View file

@ -37,6 +37,9 @@ fn load_css() {
}
fn main() {
let _ = gtk4::init();
adw::init();
// Initialize logger
pretty_env_logger::init();
glib::set_application_name("Cosmic Panel App Button");