Index: /trunk/libffado/support/mixer-qt4/ffado/widgets/matrixmixer.py =================================================================== --- /trunk/libffado/support/mixer-qt4/ffado/widgets/matrixmixer.py (revision 2021) +++ /trunk/libffado/support/mixer-qt4/ffado/widgets/matrixmixer.py (revision 2029) @@ -127,7 +127,9 @@ if text == "Mute": #log.debug("Mute %d" % self.mute_action.isChecked()) + self.update() self.parent().mutes_interface.setValue(self.output, self.input, self.mute_action.isChecked()) elif text == "Invert": log.debug("Invert %d" % self.inv_action.isChecked()) + self.update() self.parent().inverts_interface.setValue(self.output, self.input, self.inv_action.isChecked()) else: @@ -166,5 +168,8 @@ rect = self.rect() v = self.value() - color = self.bgcolors.getColor(v) + if (self.mute_action!=None and self.mute_action.isChecked()): + color = QtGui.QColor(64, 64, 64) + else: + color = self.bgcolors.getColor(v) p.fillRect(rect, color) @@ -184,4 +189,6 @@ text = "-ꝏ dB" p.drawText(rect, Qt.Qt.AlignCenter, QtCore.QString.fromUtf8(text)) + if (self.inv_action!=None and self.inv_action.isChecked()): + p.drawText(rect, Qt.Qt.AlignLeft|Qt.Qt.AlignTop, QtCore.QString.fromUtf8(" ϕ")) def internalValueChanged(self, value):