Don't run mintinstall as root
It now runs in user mode.
This commit is contained in:
parent
7e005b94ea
commit
73a412acea
@ -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") )
|
||||||
|
Loading…
Reference in New Issue
Block a user