Made the buttons in the filedlg change when selecting a different
view type by the context menu, cleanup.

8 files changed