From e7534706335dd772b5943f0e55934c7076c74e69 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Tue, 15 Jun 2010 14:54:24 +0100 Subject: [PATCH] We should destroy the gerr dialog in the context it exists in --- terminatorlib/util.py | 1 + 1 file changed, 1 insertion(+) diff --git a/terminatorlib/util.py b/terminatorlib/util.py index 56110012..393f9298 100755 --- a/terminatorlib/util.py +++ b/terminatorlib/util.py @@ -79,6 +79,7 @@ def gerr(message = None): dialog = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK, message) dialog.run() + dialog.destroy() def has_ancestor(widget, wtype): """Walk up the family tree of widget to see if any ancestors are of type"""