Robust to text-mode emacs (which doesn't have a conceopt of tool bar mode)