How to add button to status-bar in Thunderbird

I’m trying to develop a ThunderBird add-on and I need to add a button to statusbar (below composer window). How exactly do I need to write my XUL ?

I have tried this pattern, but it doesn’t work…

<statusbar>
  <button></button>
</statusbar>

Thanks in advance!

Try:

<statusbar>
  <statusbarpanel></statusbarpanel>
</statusbar>

Developer Tools > Inspector should give you some info on how it is done by others.

1 Like

Worked like a charm! Thank you very much.