'Send the request to the cluster window.'

def _sendCluster(self, widg):

    data = [r[2] for r in self.elements if (r[2] is not None)]
    if data:
        distance_function_selector(self.w3af, data)
    else:
        msg = 'There    are    no    HTTP    responses    available    to    cluster.'
        dlg = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_WARNING, gtk.BUTTONS_OK, msg)
        opt = dlg.run()
        dlg.destroy()
