Launch mintinstall as root

This commit is contained in:
Clement Lefebvre 2012-11-02 15:01:12 +00:00
parent 854de8452c
commit 8da9a01db5
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
mintmenu (5.3.8) nadia; urgency=low
* Launch mintinstall as root
-- Clement Lefebvre <root@linuxmint.com> Fri, 02 Nov 2012 15:00:53 +0000
mintmenu (5.3.7) maya; urgency=low mintmenu (5.3.7) maya; urgency=low
* Added missing dependencies * Added missing dependencies

View File

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