Don't refer to /usr/lib/linuxmint/mintInstall/icon.svg
This commit is contained in:
parent
6941c0d85b
commit
755083406b
@ -185,7 +185,7 @@ class mintMenuConfig( object ):
|
|||||||
self.systemHeightButton = self.builder.get_object( "systemHeightSpinButton" )
|
self.systemHeightButton = self.builder.get_object( "systemHeightSpinButton" )
|
||||||
if (self.allowSystemScrollbarToggle.get_active() == False): self.systemHeightButton.set_sensitive(False)
|
if (self.allowSystemScrollbarToggle.get_active() == False): self.systemHeightButton.set_sensitive(False)
|
||||||
self.allowSystemScrollbarToggle.connect("toggled", self.toggleSystemHeightEnabled )
|
self.allowSystemScrollbarToggle.connect("toggled", self.toggleSystemHeightEnabled )
|
||||||
if os.path.exists("/usr/lib/linuxmint/mintInstall/icon.svg"):
|
if os.path.exists("/usr/bin/mintinstall"):
|
||||||
self.builder.get_object( "softwaremanagercheckbutton" ).show()
|
self.builder.get_object( "softwaremanagercheckbutton" ).show()
|
||||||
else:
|
else:
|
||||||
self.builder.get_object( "softwaremanagercheckbutton" ).hide()
|
self.builder.get_object( "softwaremanagercheckbutton" ).hide()
|
||||||
|
@ -837,7 +837,7 @@ class pluginclass( object ):
|
|||||||
else:
|
else:
|
||||||
shownList.append(i)
|
shownList.append(i)
|
||||||
showns = True
|
showns = True
|
||||||
if (not showns and os.path.exists("/usr/lib/linuxmint/mintInstall/icon.svg")):
|
if (not showns and os.path.exists("/usr/bin/mintinstall")):
|
||||||
if len(text) >= 3:
|
if len(text) >= 3:
|
||||||
if self.current_suggestion is not None and self.current_suggestion in text:
|
if self.current_suggestion is not None and self.current_suggestion in text:
|
||||||
# We're restricting our search...
|
# We're restricting our search...
|
||||||
|
@ -132,8 +132,8 @@ class pluginclass( object ):
|
|||||||
def do_standard_items( self ):
|
def do_standard_items( self ):
|
||||||
|
|
||||||
if ( self.showSoftwareManager == True ):
|
if ( self.showSoftwareManager == True ):
|
||||||
if os.path.exists("/usr/lib/linuxmint/mintInstall/icon.svg"):
|
if os.path.exists("/usr/bin/mintinstall"):
|
||||||
Button1 = easyButton( "/usr/lib/linuxmint/mintInstall/icon.svg", 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, "gksu mintinstall" )
|
||||||
Button1.show()
|
Button1.show()
|
||||||
self.systemBtnHolder.pack_start( Button1, False, False, 0)
|
self.systemBtnHolder.pack_start( Button1, False, False, 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user