From 18ceffed07f680f092ea9b07b002a1b18d37070f Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 25 Aug 2024 21:30:54 +0300 Subject: Proper main menu icon --- src/lib.rs | 1 + src/main.rs | 2 ++ 2 files changed, 3 insertions(+) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index f684847..530eab6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -193,6 +193,7 @@ impl AsyncComponent for App { set_popover = >k::PopoverMenu::from_model(Some(&main_menu)) {}, #[watch] set_visible: model.micropub.is_some(), + set_icon_name: relm4_icons::icon_names::MENU, }, pack_end = >k::Button { set_icon_name: "document-send-symbolic", diff --git a/src/main.rs b/src/main.rs index a12fe60..11963b0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,6 +7,8 @@ fn main() { log::set_logger(&GLIB_LOGGER).unwrap(); log::set_max_level(log::LevelFilter::Debug); + relm4_icons::initialize_icons(); + let app = relm4::RelmApp::new(bowl::APPLICATION_ID); app.run_async::(()); -- cgit 1.4.1