'Delete selected transactions.'

def _deleteSelected(self, widg=None):

    ids = []
    iters = []
    sel = self._lstoreTreeview.get_selection()
    (model, pathlist) = sel.get_selected_rows()
    for path in pathlist:
        iters.append(self._lstore.get_iter(path))
        itemNumber = path[0]
        iid = self._lstore[itemNumber][0]
        ids.append(iid)
    for i in iters:
        self._lstore.remove(i)
    for iid in ids:
        self._historyItem.delete(iid)
