Don't run mintinstall as root

It now runs in user mode.
This commit is contained in:
Clement Lefebvre 2017-11-12 14:33:42 +00:00
parent 7e005b94ea
commit 73a412acea

View File

@ -154,7 +154,7 @@ class pluginclass( object ):
if ( self.showSoftwareManager == True ): if ( self.showSoftwareManager == True ):
if os.path.exists("/usr/bin/mintinstall"): if os.path.exists("/usr/bin/mintinstall"):
Button1 = easyButton( "mintinstall", self.iconsize, [_("Software Manager")], -1, -1 ) Button1 = easyButton( "mintinstall", self.iconsize, [_("Software Manager")], -1, -1 )
Button1.connect( "clicked", self.ButtonClicked, "gksu mintinstall" ) Button1.connect( "clicked", self.ButtonClicked, "mintinstall" )
Button1.show() Button1.show()
self.systemBtnHolder.pack_start( Button1, False, False, 0) self.systemBtnHolder.pack_start( Button1, False, False, 0)
self.mintMenuWin.setTooltip( Button1, _("Browse and install available software") ) self.mintMenuWin.setTooltip( Button1, _("Browse and install available software") )