From 652b1c2a0ce7db4885ebc51f7f09133a43401442 Mon Sep 17 00:00:00 2001 From: Malte Voos Date: Sat, 22 Nov 2025 22:50:57 +0100 Subject: fix icons and revert to current gtk --- src/main.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 01ca56d..f010c6a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,6 +16,11 @@ use relm4::RelmApp; use crate::app::App; +mod icon_names { + pub use shipped::*; + include!(concat!(env!("OUT_DIR"), "/icon_names.rs")); +} + fn main() { env_logger::init(); @@ -41,6 +46,8 @@ fn main() { STYLE_PROVIDER_PRIORITY_APPLICATION, ); + relm4_icons::initialize_icons(icon_names::GRESOURCE_BYTES, icon_names::RESOURCE_PREFIX); + relm4::RELM_THREADS.set(4).unwrap(); let relm = RelmApp::new("tc.mal.lleap").with_args(vec![]); -- cgit 1.4.1