crash when closing the message window
Bug description
Traceback (most recent call last):
File "/usr/share/gajim/src/htmltextview.py", line 895, in on_text_buffer_mark_set
clipboard.set_text(self.get_selected_text())
AttributeError: 'NoneType' object has no attribute 'set_text'
Steps to reproduce
Closing tabbed window with messages
Software versions
hg-version OS version: Fedora 12
GTK version: gtk2-2.18.3-21.fc12.x86_64
PyGTK version: pygtk2-2.16.0-1.fc12.x86_64