destroy dialog when we press ok in history_manager.py when we delete a jid. Fixes #1833

This commit is contained in:
Yann Leboulanger 2006-04-09 12:38:38 +00:00
parent 42cc2360c1
commit b9c96a195d
1 changed files with 1 additions and 0 deletions

View File

@ -440,6 +440,7 @@ class HistoryManager:
def on_ok(widget, liststore, list_of_paths):
# delete all rows from db that match jid_id
self.dialog.destroy()
list_of_rowrefs = []
for path in list_of_paths: # make them treerowrefs (it's needed)
list_of_rowrefs.append(gtk.TreeRowReference(liststore, path))