diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-25 13:55:26 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-25 13:55:26 +0000 |
commit | 87eb1e208cc5ac1804895041d032c70ff2a5dc2b (patch) | |
tree | ebf31d2bc55823d35912c445f270a8049ea558af /src/frontend/gui/sisyphus-gui.py | |
parent | 4aeba812c37565b11733cf3e7788251ac81155e8 (diff) |
sisyphus-gui : len(Sisyphus.PKGLIST) is accurate only for the selections made, not for the number of packages that will be installed, and since now we display how many packages, this may create confusion, so drop it
Diffstat (limited to 'src/frontend/gui/sisyphus-gui.py')
-rwxr-xr-x | src/frontend/gui/sisyphus-gui.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py index 8b1af9a..86d4b05 100755 --- a/src/frontend/gui/sisyphus-gui.py +++ b/src/frontend/gui/sisyphus-gui.py @@ -48,8 +48,8 @@ class Sisyphus( QtWidgets.QMainWindow): self.iThread = QtCore.QThread() self.iWorker.moveToThread(self.iThread) self.iWorker.started.connect(self.showProgressBar) - self.iWorker.finished.connect(self.iThread.quit) self.iWorker.strReady.connect(self.updateStatusBar) + self.iWorker.finished.connect(self.iThread.quit) self.iThread.started.connect(self.iWorker.startInstall) self.iThread.finished.connect(self.jobDone) @@ -58,8 +58,8 @@ class Sisyphus( QtWidgets.QMainWindow): self.uThread = QtCore.QThread() self.uWorker.moveToThread(self.uThread) self.uWorker.started.connect(self.showProgressBar) - self.uWorker.finished.connect(self.uThread.quit) self.uWorker.strReady.connect(self.updateStatusBar) + self.uWorker.finished.connect(self.uThread.quit) self.uThread.started.connect(self.uWorker.startUninstall) self.uThread.finished.connect(self.jobDone) @@ -68,8 +68,8 @@ class Sisyphus( QtWidgets.QMainWindow): self.usThread = QtCore.QThread() self.usWorker.moveToThread(self.usThread) self.usWorker.started.connect(self.showProgressBar) - self.usWorker.finished.connect(self.usThread.quit) self.usWorker.strReady.connect(self.updateStatusBar) + self.usWorker.finished.connect(self.usThread.quit) self.usThread.started.connect(self.usWorker.startUpgrade) self.usThread.finished.connect(self.jobDone) @@ -78,8 +78,8 @@ class Sisyphus( QtWidgets.QMainWindow): self.ocThread = QtCore.QThread() self.ocWorker.moveToThread(self.ocThread) self.ocWorker.started.connect(self.showProgressBar) - self.ocWorker.finished.connect(self.ocThread.quit) self.ocWorker.strReady.connect(self.updateStatusBar) + self.ocWorker.finished.connect(self.ocThread.quit) self.ocThread.started.connect(self.ocWorker.cleanOrphans) self.ocThread.finished.connect(self.jobDone) @@ -229,7 +229,7 @@ class Sisyphus( QtWidgets.QMainWindow): Sisyphus.PKGLIST = [] for index in sorted(indexes): Sisyphus.PKGLIST.append(index.data()) - self.statusBar().showMessage("I am installing %d package(s) for you ..." %len(Sisyphus.PKGLIST)) + self.statusBar().showMessage("I am installing requested package(s), please wait ...") self.iThread.start() def packageUninstall(self): @@ -240,7 +240,7 @@ class Sisyphus( QtWidgets.QMainWindow): Sisyphus.PKGLIST = [] for index in sorted(indexes): Sisyphus.PKGLIST.append(index.data()) - self.statusBar().showMessage("I am removing %d package(s) as requested ..." %len(Sisyphus.PKGLIST)) + self.statusBar().showMessage("I am removing requested package(s), please wait ...") self.uThread.start() def systemUpgrade(self): |