Applications: Replace the deprecated icon for adding packages (#216)

This commit is contained in:
gm10 2019-02-20 11:24:34 +01:00 committed by Clement Lefebvre
parent c2a0947dfd
commit 2e42cabf0a

View File

@ -660,7 +660,7 @@ class pluginclass(object):
for word in keywords: for word in keywords:
if word != "": if word != "":
name = name.replace(word, "<b>%s</b>" % word) name = name.replace(word, "<b>%s</b>" % word)
self.add_suggestion(Gtk.STOCK_ADD, self.add_suggestion("package-x-generic",
_("Install package '%s'") % name, _("Install package '%s'") % name,
"%s\n\n%s\n\n%s" % (pkg.name, pkg.summary, pkg.description), "%s\n\n%s\n\n%s" % (pkg.name, pkg.summary, pkg.description),
self.apturl_install, pkg.name) self.apturl_install, pkg.name)