use eventbox instead of button
Button, somehow, doesn't seem to notice css class changes after it's rendered. EventBox has less baggage
This commit is contained in:
parent
028d5920a2
commit
4ba657c98f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user