The child of a Gtk.ToolButton is a Gtk.Button, and the child of a Gtk.Button is either a Gtk.Image or None if the button doesn’t have an associated icon.
In this case the code provides a fallback for the standard superscript and subscript icons which are sometimes unavailable.
The code is used in the note editor, but the same code may also be used in read-only mode to display text in the note gramplets and possibly elsewhere.
There are icons for the new Note Editor features in 2 MantisBT issues. The 1st is a comprehensive theme stencil of icons for Gramps. The 2nd is specific to the 2 new Note styling features
so, has anybody solution haw to fix this? It happens each time when I dont use the app during some period of time, maybe 1-2 hrs. And I have Clipboard opened also (dont know if it has some affect). Does it repro for me only?