From 91bedba29d302f902484793825c093a7c9bef068 Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Thu, 8 Oct 2009 14:16:43 +0100 Subject: [PATCH] No suggestions if mintInstall isn't installed --- usr/lib/linuxmint/mintMenu/plugins/applications.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/lib/linuxmint/mintMenu/plugins/applications.py b/usr/lib/linuxmint/mintMenu/plugins/applications.py index d5e8642..1295ac2 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/applications.py +++ b/usr/lib/linuxmint/mintMenu/plugins/applications.py @@ -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)