diff --git a/src/mambatray b/src/mambatray index b0b66af..1427723 100755 --- a/src/mambatray +++ b/src/mambatray @@ -240,8 +240,8 @@ class SystemTrayIcon(QtWidgets.QSystemTrayIcon): global NetsrpmsArg, lista if not lista == []: Lista = self.Lista() - msg = QtGui.QMessageBox.question(menu, (_("Not Open Source openmamba components")), (_("The following components are available for update: ") + "\n\n" + Lista + "\n\n" + _("Ok to proceed?")), QtGui.QMessageBox.Yes | QtGui.QMessageBox.No, QtGui.QMessageBox.Yes) - if msg == QtGui.QMessageBox.Yes: + msg = QtWidgets.QMessageBox.question(menu, (_("Not Open Source openmamba components")), (_("The following components are available for update: ") + "\n\n" + Lista + "\n\n" + _("Ok to proceed?")), QtWidgets.QMessageBox.Yes | QtWidgets.QMessageBox.No, QtWidgets.QMessageBox.Yes) + if msg == QtWidgets.QMessageBox.Yes: NetsrpmsArg = '-u' self.SRPMSCheckUpgradeList() else: