'Creates a simple view of vulnerabilities for the object
and returns a box containing it. The vuln_list will be a value of the
instance.'

@scrollable(width=250)
def create_vuln_list(self):

    self.vuln_list = Gtk.TreeView()
    self.vuln_list.set_activate_on_single_click(True)
    renderer = Gtk.CellRendererText()
    column = Gtk.TreeViewColumn('Vulnerabilities', renderer, text=1)
    column.set_sort_column_id(1)
    self.vuln_list.append_column(column)
    self.vuln_list.set_search_column(1)
    vuln_selection = self.vuln_list.get_selection()
    vuln_selection.connect('changed', self.on_vuln_selection)
    return self.vuln_list
