'Update the text from the tabs.'

def update_tabs_text(self):

    for (index, fname) in enumerate(self.filenames):
        client = self.clients[index]
        if fname:
            self.rename_client_tab(client, self.disambiguate_fname(fname))
        else:
            self.rename_client_tab(client, None)
