170
170
image = Gio.ThemedIcon.new(self.result.icon_hint)
171
171
preview = Unity.GenericPreview.new(
172
172
self.result.title, html.escape(self.result.comment), image)
174
175
icon = Gio.FileIcon.new (Gio.file_new_for_path(PROVIDER_ICON))
175
176
action = Unity.PreviewAction.new("open", _("Open"), icon)
176
177
preview.add_action(action)