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

@ -6,6 +6,7 @@ edition = "2021"
[dependencies]
futures = "0.3"
gtk4 = { git = "https://github.com/gtk-rs/gtk4-rs" }
adw = { git = "https://gitlab.gnome.org/World/Rust/libadwaita-rs", package = "libadwaita"}
libcosmic-applet = { path = "../../libcosmic-applet" }
relm4 = { git = "https://github.com/relm4/relm4", branch = "next", features = ["macros"] }
zbus = { version = "2", no-default-features = true }

View file

@ -357,6 +357,9 @@ impl SimpleComponent for AppModel {
}
fn main() {
let _ = gtk4::init();
adw::init();
let app = RelmApp::with_app(Application::new(
None,
ApplicationFlags::default(),