From 482ea2fed0ca5dcc01628d91e82e965b86fb7343 Mon Sep 17 00:00:00 2001 From: Dimitur Kirov Date: Wed, 19 Apr 2006 12:21:06 +0000 Subject: [PATCH] suppress warning for not registered signal --- src/conversation_textview.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/conversation_textview.py b/src/conversation_textview.py index b9ea63d30..cc489dc4f 100644 --- a/src/conversation_textview.py +++ b/src/conversation_textview.py @@ -135,7 +135,8 @@ class ConversationTextview: def del_handlers(self): for i in self.handlers.keys(): - self.handlers[i].disconnect(i) + if self.handlers[i].handler_is_connected(i): + self.handlers[i].disconnect(i) del self.handlers self.tv.destroy() #TODO