diff options
author | Vika <vika@fireburn.ru> | 2024-08-25 21:30:54 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2024-08-25 21:30:54 +0300 |
commit | 18ceffed07f680f092ea9b07b002a1b18d37070f (patch) | |
tree | 826669213618b5c23e6aa1b53feb992261f78c0c /src | |
parent | b0730f9afe4213aa8a4d20bf56a56a27870a90bf (diff) | |
download | bowl-18ceffed07f680f092ea9b07b002a1b18d37070f.tar.zst |
Proper main menu icon
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 1 | ||||
-rw-r--r-- | src/main.rs | 2 |
2 files changed, 3 insertions, 0 deletions
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::<bowl::App>(()); |