'Apply the results from grep to the widgets'

def process_result(self, status, out, err):

    if (status == 0):
        value = (out + err)
    elif (out + err):
        value = ((u'git    grep:    ' + out) + err)
    else:
        value = u''
    scroll = self.text_scroll()
    offset = min(len(value), self.text_offset())
    self.grep_result = value
    self.result_txt.set_value(value)
    self.set_text_scroll(scroll)
    self.set_text_offset(offset)
    enabled = (status == 0)
    self.edit_group.setEnabled(enabled)
    self.refresh_group.setEnabled(True)
