No suggestions if mintInstall isn't installed

This commit is contained in:
Clement Lefebvre 2009-10-08 21:16:43 +08:00 committed by Chris Hodapp
parent 5db5d1609d
commit d78f9337c9

View File

@ -270,7 +270,7 @@ class pluginclass( object ):
return ( 0, 0 )
#sizeIcon = gtk.icon_size_lookup( sizeIcon )
self.suggestSearchAppButton = SuggestionButton(gtk.STOCK_FIND, self.iconSize, "")
self.suggestSearchButton = SuggestionButton(gtk.STOCK_FIND, self.iconSize, "")
self.suggestShowButton = SuggestionButton(gtk.STOCK_INFO, self.iconSize, "")
@ -561,7 +561,7 @@ class pluginclass( object ):
if (shown):
showns = True
if (not showns):
if (not showns and os.path.exists("/usr/lib/linuxmint/mintInstall/icon.svg")):
self.suggestion = text
self.applicationsBox.add(self.suggestSearchAppButton)