implement actions for buttons (GTK)

add functions for accessing some UiContext internals

fix attaching documents increases the reference counter

(0) -1000 -300 -100 -30 -10 -3 +3 +10 tip

mercurial