diff --git a/usr/lib/linuxmint/mintMenu/mintMenuConfig.py b/usr/lib/linuxmint/mintMenu/mintMenuConfig.py index 487cc08..8481177 100755 --- a/usr/lib/linuxmint/mintMenu/mintMenuConfig.py +++ b/usr/lib/linuxmint/mintMenu/mintMenuConfig.py @@ -185,7 +185,7 @@ class mintMenuConfig( object ): self.systemHeightButton = self.builder.get_object( "systemHeightSpinButton" ) if (self.allowSystemScrollbarToggle.get_active() == False): self.systemHeightButton.set_sensitive(False) 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() else: self.builder.get_object( "softwaremanagercheckbutton" ).hide() diff --git a/usr/lib/linuxmint/mintMenu/plugins/applications.py b/usr/lib/linuxmint/mintMenu/plugins/applications.py index feddfc0..8117564 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/applications.py +++ b/usr/lib/linuxmint/mintMenu/plugins/applications.py @@ -837,7 +837,7 @@ class pluginclass( object ): else: shownList.append(i) 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 self.current_suggestion is not None and self.current_suggestion in text: # We're restricting our search... diff --git a/usr/lib/linuxmint/mintMenu/plugins/system_management.py b/usr/lib/linuxmint/mintMenu/plugins/system_management.py index 4cc4c95..0776359 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/system_management.py +++ b/usr/lib/linuxmint/mintMenu/plugins/system_management.py @@ -132,8 +132,8 @@ class pluginclass( object ): def do_standard_items( self ): if ( self.showSoftwareManager == True ): - if os.path.exists("/usr/lib/linuxmint/mintInstall/icon.svg"): - Button1 = easyButton( "/usr/lib/linuxmint/mintInstall/icon.svg", self.iconsize, [_("Software Manager")], -1, -1 ) + if os.path.exists("/usr/bin/mintinstall"): + Button1 = easyButton( "mintinstall", self.iconsize, [_("Software Manager")], -1, -1 ) Button1.connect( "clicked", self.ButtonClicked, "gksu mintinstall" ) Button1.show() self.systemBtnHolder.pack_start( Button1, False, False, 0)