Exception while entering non-latin characters when chat area is focused.
Bug description
When the chat area is focused and I try to enter non-latin characters (cyrillic in my case, encoding is Cp1251), I get the following: Exception: Traceback (most recent call last): File "chat_control.pyo", line 531, in _conv_textview_key_press_event TypeError: 'NoneType' object is unsubscriptable
Note that in case I enter latin characters, text input area gets focused. When text input area is focused, I can enter cyrillic characters normally.
The exception is not blocking, I can continue typing after closing the dialog window with the stack trace above.
Steps to reproduce
Open chat area, set focus to chat area, enter non-latin (cyrillic) character.
Software versions
OS version: Windows XP SP3 GTK version: 2.16.5 PyGTK version: 2.12.1