From 03aab682e06f31616699ef50fd3bf19cef106a0b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 17 Jun 2017 08:03:12 +0100 Subject: make available options more ... intuitive --- frontend/gui/accesories.py | 6 +++--- frontend/gui/development.py | 6 +++--- frontend/gui/everything.py | 6 +++--- frontend/gui/games.py | 6 +++--- frontend/gui/graphics.py | 6 +++--- frontend/gui/internet.py | 6 +++--- frontend/gui/local.py | 6 +++--- frontend/gui/multimedia.py | 6 +++--- frontend/gui/office.py | 6 +++--- frontend/gui/sisyphus-gui.py | 6 +++--- frontend/gui/system.py | 6 +++--- 11 files changed, 33 insertions(+), 33 deletions(-) (limited to 'frontend/gui') diff --git a/frontend/gui/accesories.py b/frontend/gui/accesories.py index 530886f..32d3b68 100755 --- a/frontend/gui/accesories.py +++ b/frontend/gui/accesories.py @@ -22,14 +22,14 @@ class Accesories(QtWidgets.QMainWindow): def install_package(self): pkgname = self.table_accesories.item(self.table_accesories.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoinstall'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-install'] + pkgname.split()) def uninstall_package(self): pkgname = self.table_accesories.item(self.table_accesories.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoremove'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-uninstall'] + pkgname.split()) def remove_orphans(self): - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoclean']) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'remove-orphans']) def exit_category(self): self.close() diff --git a/frontend/gui/development.py b/frontend/gui/development.py index 0f1221f..ede83a4 100755 --- a/frontend/gui/development.py +++ b/frontend/gui/development.py @@ -22,14 +22,14 @@ class Development(QtWidgets.QMainWindow): def install_package(self): pkgname = self.table_development.item(self.table_development.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoinstall'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-install'] + pkgname.split()) def uninstall_package(self): pkgname = self.table_development.item(self.table_development.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoremove'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-uninstall'] + pkgname.split()) def remove_orphans(self): - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoremove']) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-uninstall']) def exit_category(self): self.close() diff --git a/frontend/gui/everything.py b/frontend/gui/everything.py index e6b874b..ac83ca6 100755 --- a/frontend/gui/everything.py +++ b/frontend/gui/everything.py @@ -22,14 +22,14 @@ class Everything(QtWidgets.QMainWindow): def install_package(self): pkgname = self.table_everything.item(self.table_everything.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoinstall'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-install'] + pkgname.split()) def uninstall_package(self): pkgname = self.table_everything.item(self.table_everything.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoremove'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-uninstall'] + pkgname.split()) def remove_orphans(self): - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoclean']) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'remove-orphans']) def exit_category(self): self.close() diff --git a/frontend/gui/games.py b/frontend/gui/games.py index 052e606..3fa78aa 100755 --- a/frontend/gui/games.py +++ b/frontend/gui/games.py @@ -22,14 +22,14 @@ class Games(QtWidgets.QMainWindow): def install_package(self): pkgname = self.table_games.item(self.table_games.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoinstall'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-install'] + pkgname.split()) def uninstall_package(self): pkgname = self.table_games.item(self.table_games.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoremove'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-uninstall'] + pkgname.split()) def remove_orphans(self): - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoclean']) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'remove-orphans']) def exit_category(self): self.close() diff --git a/frontend/gui/graphics.py b/frontend/gui/graphics.py index 270b8cf..a50a169 100755 --- a/frontend/gui/graphics.py +++ b/frontend/gui/graphics.py @@ -22,14 +22,14 @@ class Graphics(QtWidgets.QMainWindow): def install_package(self): pkgname = self.table_graphics.item(self.table_graphics.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoinstall'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-install'] + pkgname.split()) def uninstall_package(self): pkgname = self.table_graphics.item(self.table_graphics.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoremove'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-uninstall'] + pkgname.split()) def remove_orphans(self): - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoclean']) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'remove-orphans']) def exit_category(self): self.close() diff --git a/frontend/gui/internet.py b/frontend/gui/internet.py index c7c7400..e8ad1d3 100755 --- a/frontend/gui/internet.py +++ b/frontend/gui/internet.py @@ -22,14 +22,14 @@ class Internet(QtWidgets.QMainWindow): def install_package(self): pkgname = self.table_internet.item(self.table_internet.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoinstall'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-install'] + pkgname.split()) def uninstall_package(self): pkgname = self.table_internet.item(self.table_internet.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoremove'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-uninstall'] + pkgname.split()) def remove_orphans(self): - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoclean']) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'remove-orphans']) def exit_category(self): self.close() diff --git a/frontend/gui/local.py b/frontend/gui/local.py index 60c835a..e8b506a 100755 --- a/frontend/gui/local.py +++ b/frontend/gui/local.py @@ -22,14 +22,14 @@ class Local(QtWidgets.QMainWindow): def install_package(self): pkgname = self.table_local.item(self.table_local.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoinstall'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-install'] + pkgname.split()) def uninstall_package(self): pkgname = self.table_local.item(self.table_local.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoremove'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-uninstall'] + pkgname.split()) def remove_orphans(self): - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoclean']) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'remove-orphans']) def exit_category(self): self.close() diff --git a/frontend/gui/multimedia.py b/frontend/gui/multimedia.py index 48d9bfb..e4214f2 100755 --- a/frontend/gui/multimedia.py +++ b/frontend/gui/multimedia.py @@ -22,14 +22,14 @@ class Multimedia(QtWidgets.QMainWindow): def install_package(self): pkgname = self.table_multimedia.item(self.table_multimedia.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoinstall'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-install'] + pkgname.split()) def uninstall_package(self): pkgname = self.table_multimedia.item(self.table_multimedia.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoremove'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-uninstall'] + pkgname.split()) def remove_orphans(self): - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoclean']) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'remove-orphans']) def exit_category(self): self.close() diff --git a/frontend/gui/office.py b/frontend/gui/office.py index e030486..286494a 100755 --- a/frontend/gui/office.py +++ b/frontend/gui/office.py @@ -22,14 +22,14 @@ class Office(QtWidgets.QMainWindow): def install_package(self): pkgname = self.table_office.item(self.table_office.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoinstall'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-install'] + pkgname.split()) def uninstall_package(self): pkgname = self.table_office.item(self.table_office.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoremove'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-uninstall'] + pkgname.split()) def remove_orphans(self): - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoclean']) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'remove-orphans']) def exit_category(self): self.close() diff --git a/frontend/gui/sisyphus-gui.py b/frontend/gui/sisyphus-gui.py index 244a9af..1cc4fb6 100755 --- a/frontend/gui/sisyphus-gui.py +++ b/frontend/gui/sisyphus-gui.py @@ -48,17 +48,17 @@ class Sisyphus(QtWidgets.QMainWindow): def install_package(self): pkgname = self.input.text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoinstall'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-install'] + pkgname.split()) def uninstall_package(self): pkgname = self.input.text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoremove'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-uninstall'] + pkgname.split()) def upgrade_system(self): subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoupgrade']) def remove_orphans(self): - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoclean']) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'remove-orphans']) def accesories_category(self): self.window = Accesories() diff --git a/frontend/gui/system.py b/frontend/gui/system.py index c9942e0..f8cc428 100755 --- a/frontend/gui/system.py +++ b/frontend/gui/system.py @@ -22,14 +22,14 @@ class System(QtWidgets.QMainWindow): def install_package(self): pkgname = self.table_system.item(self.table_system.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoinstall'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-install'] + pkgname.split()) def uninstall_package(self): pkgname = self.table_system.item(self.table_system.currentRow(), 1).text() - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoremove'] + pkgname.split()) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'auto-uninstall'] + pkgname.split()) def remove_orphans(self): - subprocess.Popen(['xterm', '-e', 'sisyphus', 'autoclean']) + subprocess.Popen(['xterm', '-e', 'sisyphus', 'remove-orphans']) def exit_category(self): self.close() -- cgit v1.2.3