summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-09-23 21:13:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-09-23 21:13:30 +0100
commit65cc117b5b0e326aa6264756ce8dcf57528ae585 (patch)
tree771dfa4416e91bc6dd3955eb769e202abca42218 /src
parent428317940772b6d132b6333d72bbeeb9393dbb67 (diff)
make use of statusbar to display messages
Diffstat (limited to 'src')
-rwxr-xr-xsrc/frontend/gui/sisyphus-gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py
index 691c072..0238e55 100755
--- a/src/frontend/gui/sisyphus-gui.py
+++ b/src/frontend/gui/sisyphus-gui.py
@@ -135,7 +135,7 @@ class Sisyphus(QtWidgets.QMainWindow):
def packageInstall(self):
indexes = self.database.selectionModel().selectedRows(1)
if len(indexes) == 0:
- self.input.setText("Please select at least one package!!!")
+ self.statusBar().showMessage("No package selected, please pick at least one!", 3000)
else:
Sisyphus.PKGLIST = []
for index in sorted(indexes):
@@ -145,7 +145,7 @@ class Sisyphus(QtWidgets.QMainWindow):
def packageUninstall(self):
indexes = self.database.selectionModel().selectedRows(1)
if len(indexes) == 0:
- self.input.setText("Please select at least one package!!!")
+ self.statusBar().showMessage("No package selected, please pick at least one!", 3000)
else:
Sisyphus.PKGLIST = []
for index in sorted(indexes):