Revert "Switch from kpackagekit to apper (from now on it requires apper insteade of kpackagekit)"

This reverts commit 0a305813a7.
This commit is contained in:
Silvan Calarco 2012-11-23 15:57:16 +01:00
parent 1e9eddbda6
commit 66c06f54f9

View File

@ -126,13 +126,13 @@ class SystemTrayIcon(QtGui.QSystemTrayIcon):
def softwareManager(self): def softwareManager(self):
if desktop_session == 'kde': if desktop_session == 'kde':
softwareManagerProcess.execute("/opt/kde/bin/apper") softwareManagerProcess.execute("/opt/kde/bin/kpackagekit")
else: else:
softwareManagerProcess.execute("/usr/bin/gpk-application") softwareManagerProcess.execute("/usr/bin/gpk-application")
def softwareCheckUpgrades(self): def softwareCheckUpgrades(self):
if desktop_session == 'kde': if desktop_session == 'kde':
softwareCheckUpgradesProcess.start("/opt/kde/bin/apper", ['--updates']) softwareCheckUpgradesProcess.start("/opt/kde/bin/kpackagekit", ['--updates'])
else: else:
softwareCheckUpgradesProcess.start("/usr/bin/gpk-update-viewer") softwareCheckUpgradesProcess.start("/usr/bin/gpk-update-viewer")
def refreshPackagesCache(self): def refreshPackagesCache(self):