'Show the given message with the given MessageLevel.'

@pyqtSlot(usertypes.MessageLevel, str, bool)
def show_message(self, level, text, replace=False):

    if (text == self._last_text):
        return
    if (replace and self._messages and self._messages[(-1)].replace):
        old = self._messages.pop()
        old.hide()
    widget = Message(level, text, replace=replace, parent=self)
    self._vbox.addWidget(widget)
    widget.show()
    self._messages.append(widget)
    self._last_text = text
    self.show()
    self.update_geometry.emit()
    if (config.get('ui', 'message-timeout') != 0):
        self._set_clear_timer_interval()
        self._clear_timer.start()
