Can't join a new bookmark (message_window branch)
(In message_window branch)
If you create a new bookmark, you can't join it until Gajim restart. Here is the backtrace :
Traceback (most recent call last):
File "C:\Documents and Settings\Jon\Bureau\gajim-branche\src\roster_window.py", line 353, in on_bookmark_menuitem_activate
bookmark['password'])
File "C:\Documents and Settings\Jon\Bureau\gajim-branche\src\roster_window.py", line 344, in join_gc_room
gc_win = gajim.interface.msg_win_mgr.get_window(room_jid)
File "C:\Documents and Settings\Jon\Bureau\gajim-branche\src\message_window.py", line 493, in get_window
if win.get_control(jid):
File "C:\Documents and Settings\Jon\Bureau\gajim-branche\src\message_window.py", line 322, in get_control
nth_child = notebook.get_nth_page(page_num)
TypeError: an integer is required
It appears that when you try to join it key is not an unicode object, so the isinstance(key, unicode) return false, whereas when gajim is restarted, key is a unicode object.