summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-08-25 21:30:54 +0300
committerVika <vika@fireburn.ru>2024-08-25 21:30:54 +0300
commit18ceffed07f680f092ea9b07b002a1b18d37070f (patch)
tree826669213618b5c23e6aa1b53feb992261f78c0c /src
parentb0730f9afe4213aa8a4d20bf56a56a27870a90bf (diff)
downloadbowl-18ceffed07f680f092ea9b07b002a1b18d37070f.tar.zst
Proper main menu icon
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs1
-rw-r--r--src/main.rs2
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 = &gtk::PopoverMenu::from_model(Some(&main_menu)) {},
                         #[watch]
                         set_visible: model.micropub.is_some(),
+                        set_icon_name: relm4_icons::icon_names::MENU,
                     },
                     pack_end = &gtk::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>(());