summaryrefslogtreecommitdiff
path: root/src/frontend/gui/sisyphus-gui.py
diff options
context:
space:
mode:
authorbionel <ionel.busuioc@gmail.com>2017-09-25 20:34:46 +0300
committerbionel <ionel.busuioc@gmail.com>2017-09-25 20:34:46 +0300
commitd4592eb1135ebc7510e1e6703e02d41f660625db (patch)
tree5c94fd1a4babbd9eb20ac3f508deac7359193c31 /src/frontend/gui/sisyphus-gui.py
parent3ba35096425b3f9d1a203598e10a2eb69d499654 (diff)
make sisy less shy
Diffstat (limited to 'src/frontend/gui/sisyphus-gui.py')
-rwxr-xr-xsrc/frontend/gui/sisyphus-gui.py5
1 files changed, 5 insertions, 0 deletions
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):