Switch from kpackagekit to apper (from now on it requires apper insteade of kpackagekit)
This commit is contained in:
parent
449de0389a
commit
0a305813a7
@ -126,13 +126,13 @@ class SystemTrayIcon(QtGui.QSystemTrayIcon):
|
||||
|
||||
def softwareManager(self):
|
||||
if desktop_session == 'kde':
|
||||
softwareManagerProcess.execute("/opt/kde/bin/kpackagekit")
|
||||
softwareManagerProcess.execute("/opt/kde/bin/apper")
|
||||
else:
|
||||
softwareManagerProcess.execute("/usr/bin/gpk-application")
|
||||
|
||||
def softwareCheckUpgrades(self):
|
||||
if desktop_session == 'kde':
|
||||
softwareCheckUpgradesProcess.start("/opt/kde/bin/kpackagekit", ['--updates'])
|
||||
softwareCheckUpgradesProcess.start("/opt/kde/bin/apper", ['--updates'])
|
||||
else:
|
||||
softwareCheckUpgradesProcess.start("/usr/bin/gpk-update-viewer")
|
||||
def refreshPackagesCache(self):
|
||||
|
Loading…
Reference in New Issue
Block a user