summaryrefslogtreecommitdiff
path: root/src/frontend/gui/sisyphus-gui.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-25 21:35:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-25 22:12:43 +0000
commit7d32051b5114160c66c354972f8a64a00d331c6c (patch)
tree06e6a60d9468d159cb4bd52a79581315ff8bcea8 /src/frontend/gui/sisyphus-gui.py
parent17b776830e4468080c1b0f09685b4aa4f7b9eaf3 (diff)
rename some functionsv6.2402.0
Diffstat (limited to 'src/frontend/gui/sisyphus-gui.py')
-rw-r--r--src/frontend/gui/sisyphus-gui.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py
index d5c7aff..44820f7 100644
--- a/src/frontend/gui/sisyphus-gui.py
+++ b/src/frontend/gui/sisyphus-gui.py
@@ -363,7 +363,7 @@ class MirrorConfiguration(QtWidgets.QMainWindow):
super(MirrorConfiguration, self).__init__()
uic.loadUi('/usr/share/sisyphus/ui/mirrorcfg.ui', self)
self.centerOnScreen()
- self.MIRRORLIST = sisyphus.mirrors.getList()
+ self.MIRRORLIST = sisyphus.setmirror.getList()
self.updateMirrorList()
self.applyButton.pressed.connect(self.mirrorCfgApply)
self.applyButton.released.connect(self.mirrorCfgExit)
@@ -394,7 +394,7 @@ class MirrorConfiguration(QtWidgets.QMainWindow):
self.MIRRORLIST[self.ACTIVEMIRRORINDEX]['isActive'] = True
def mirrorCfgApply(self):
- sisyphus.mirrors.writeList(self.MIRRORLIST)
+ sisyphus.setmirror.writeList(self.MIRRORLIST)
def mirrorCfgExit(self):
self.close()
@@ -434,33 +434,33 @@ class MainWorker(QtCore.QObject):
def startUpdate(self):
self.started.emit()
sisyphus.setjobs.start()
- sisyphus.update.start.__wrapped__(gfx_ui=True) # undecorate
+ sisyphus.syncall.start.__wrapped__(gfx_ui=True) # undecorate
self.finished.emit()
@QtCore.pyqtSlot()
def startInstall(self):
self.started.emit()
pkgname = Sisyphus.pkgname
- sisyphus.install.start(pkgname, ebuild=False, gfx_ui=True, oneshot=False)
+ sisyphus.instpkgsrc.start(pkgname, ebuild=False, gfx_ui=True, oneshot=False)
self.finished.emit()
@QtCore.pyqtSlot()
def startUninstall(self):
self.started.emit()
pkgname = Sisyphus.pkgname
- sisyphus.uninstall.start(pkgname, depclean=True, gfx_ui=True, unmerge=False)
+ sisyphus.rmpkgsrc.start(pkgname, depclean=True, gfx_ui=True, unmerge=False)
self.finished.emit()
@QtCore.pyqtSlot()
def startUpgrade(self):
self.started.emit()
- sisyphus.upgrade.start(ebuild=False, gfx_ui=True)
+ sisyphus.sysupgrade.start(ebuild=False, gfx_ui=True)
self.finished.emit()
@QtCore.pyqtSlot()
def startAutoremove(self):
self.started.emit()
- sisyphus.autoremove.start(gfx_ui=True)
+ sisyphus.autormpkgsrc.start(gfx_ui=True)
self.finished.emit()