mint-remove-application: Don't use gksu

mint-common now uses pkexec internally
This commit is contained in:
Clement Lefebvre 2018-03-13 15:05:17 +00:00
parent 5f190ceac9
commit 469eaf57e5

View File

@ -380,7 +380,7 @@ class ApplicationLauncher( easyButton ):
Execute(self.appExec, self.appPath) Execute(self.appExec, self.appPath)
def uninstall (self, *args ): def uninstall (self, *args ):
Execute("gksu /usr/lib/linuxmint/common/mint-remove-application.py " + self.desktopFile) Execute("mint-remove-application " + self.desktopFile)
# IconTheme changed, setup new icons for button and drag 'n drop # IconTheme changed, setup new icons for button and drag 'n drop
def iconChanged( self ): def iconChanged( self ):