'Handler for "layoutChanged" dbus signal.'

def _layout_changed(self, layout_changed):

    if self.colours:
        self._set_colour(layout_changed)
    self.keyboard = self.configured_keyboards[layout_changed]
