'Pauses the scan.'

def _scan_pause(self, widget):

    shall_pause = widget.get_active()
    self.w3af.pause(shall_pause)
    self.startstopbtns.set_sensitive((not shall_pause))
    self.toolbut_pause.set_sensitive((not shall_pause))
    self.throbber.running((not shall_pause))
    self.paused = shall_pause
    if (not shall_pause):
        self.sb(_('Resuming    the    scan...'))
        gobject.timeout_add(500, self._scan_superviseStatus)
    else:
        self.sb(_('The    scan    is    paused'))
