No suggestions if mintInstall isn't installed
This commit is contained in:
parent
35fc24fdac
commit
91bedba29d
@ -270,7 +270,7 @@ class pluginclass( object ):
|
|||||||
return ( 0, 0 )
|
return ( 0, 0 )
|
||||||
|
|
||||||
#sizeIcon = gtk.icon_size_lookup( sizeIcon )
|
#sizeIcon = gtk.icon_size_lookup( sizeIcon )
|
||||||
|
|
||||||
self.suggestSearchAppButton = SuggestionButton(gtk.STOCK_FIND, self.iconSize, "")
|
self.suggestSearchAppButton = SuggestionButton(gtk.STOCK_FIND, self.iconSize, "")
|
||||||
self.suggestSearchButton = SuggestionButton(gtk.STOCK_FIND, self.iconSize, "")
|
self.suggestSearchButton = SuggestionButton(gtk.STOCK_FIND, self.iconSize, "")
|
||||||
self.suggestShowButton = SuggestionButton(gtk.STOCK_INFO, self.iconSize, "")
|
self.suggestShowButton = SuggestionButton(gtk.STOCK_INFO, self.iconSize, "")
|
||||||
@ -561,7 +561,7 @@ class pluginclass( object ):
|
|||||||
if (shown):
|
if (shown):
|
||||||
showns = True
|
showns = True
|
||||||
|
|
||||||
if (not showns):
|
if (not showns and os.path.exists("/usr/lib/linuxmint/mintInstall/icon.svg")):
|
||||||
self.suggestion = text
|
self.suggestion = text
|
||||||
|
|
||||||
self.applicationsBox.add(self.suggestSearchAppButton)
|
self.applicationsBox.add(self.suggestSearchAppButton)
|
||||||
|
Loading…
Reference in New Issue
Block a user