From 22e538ceb42734896d4678946402f037a6c75c07 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Fri, 11 Dec 2009 16:35:18 -0200 Subject: [PATCH] If we cancel the update, we must clear all the pointers too --- mitterlib/ui/ui_pygtk.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mitterlib/ui/ui_pygtk.py b/mitterlib/ui/ui_pygtk.py index 1328333..3566001 100644 --- a/mitterlib/ui/ui_pygtk.py +++ b/mitterlib/ui/ui_pygtk.py @@ -662,6 +662,11 @@ class Interface(object): def _clear_text(self, widget): """Clear the text field.""" self._update_text.get_buffer().set_text('') + + self._delete_iter = None + self._reply_message_id = None + self._repost_message_id = None + return def _quit_app(self, widget=None, user_data=None):