From b9c96a195d0db0fc535ed5e76cecd200d94eb756 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 9 Apr 2006 12:38:38 +0000 Subject: [PATCH] destroy dialog when we press ok in history_manager.py when we delete a jid. Fixes #1833 --- src/history_manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/history_manager.py b/src/history_manager.py index 466ec9348..3d29ccd64 100755 --- a/src/history_manager.py +++ b/src/history_manager.py @@ -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))