From d4592eb1135ebc7510e1e6703e02d41f660625db Mon Sep 17 00:00:00 2001 From: bionel Date: Mon, 25 Sep 2017 20:34:46 +0300 Subject: make sisy less shy --- src/frontend/gui/sisyphus-gui.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py index f910bb1..0b10cf8 100755 --- a/src/frontend/gui/sisyphus-gui.py +++ b/src/frontend/gui/sisyphus-gui.py @@ -132,6 +132,7 @@ class Sisyphus(QtWidgets.QMainWindow): def updateSystem(self): self.loadDatabase() + self.statusBar().showMessage("I am syncing myself, hope to finish soon ...") self.updateThread.start() def packageInstall(self): @@ -142,6 +143,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.installThread.start() def packageUninstall(self): @@ -152,12 +154,15 @@ 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) from your system ..." %len(Sisyphus.PKGLIST)) self.uninstallThread.start() def systemUpgrade(self): + self.statusBar().showMessage("I am upgrading what is upgradable, please be patient ...") self.upgradeThread.start() def orphansRemove(self): + self.statusBar().showMessage("I am busy with some cleaning, please don't rush me ...") self.orphansThread.start() def jobDone(self): -- cgit v1.2.3