use eventbox instead of button

Button, somehow, doesn't seem to notice css class changes
after it's rendered. EventBox has less baggage
phoen
Daniel Barlow 2022-03-27 16:21:54 +01:00
parent 028d5920a2
commit 4ba657c98f
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@
(fn indicator [{: wait-for
: refresh
: on-click}]
(let [button (Gtk.Button { :relief Gtk.ReliefStyle.NONE})]
(let [button (Gtk.EventBox { })]
(fn update-indicator []
(let [content (resolve refresh)]
(when content