From bb3c73f8c87b3950ca679365960c82ea4c2590b6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 31 Mar 2019 20:43:03 +0200 Subject: [PATCH] Post commit fix --- src/mambatray | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: