EditorToolbar: use icon in View menu also with GTK2 and Windows.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@47071 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: refactoring, move local functions from UpdateNoteBookButtons to private methods.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@47072 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: Update component palette correctly when icons are filtered by DataModule.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@47073 4005530d-fff6-0310-9dd1-cebe43e6787f
IDE: Save component palette options correctly when palette is filtered by DataModule.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@47074 4005530d-fff6-0310-9dd1-cebe43e6787f