add document attach/detach callbacks

move toolbar items to the next pane, when splitpane is hidden (GTK)

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

mercurial