From 50ba3f77b142c45707b4348dba922444607207a0 Mon Sep 17 00:00:00 2001 From: Vika Date: Thu, 22 Aug 2024 18:31:09 +0300 Subject: Use a nice icon for the post button --- src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index 8e73a33..87eed10 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -80,7 +80,9 @@ impl AsyncComponent for PostComposerModel { add_top_bar: &{ relm4::view! { send_button = gtk::Button { - set_label: "Post", + set_icon_name: "document-send-symbolic", + set_tooltip: "Send post", + connect_clicked => Self::Input::Submit, #[track = "model.busy_changed()"] set_sensitive: !model.busy(), -- cgit 1.4.1