Shared code for mate-panel, mate-session, mate-file-manager, etc.