pm notification click causes broken tabs
Receiving a private message causes a notification and displays the private message in whichever chat window you have up for that account at the time. When this happens, if you click on the notification (new or old-style), then a new tab is opened even though the private message is already being displayed in a tab. Once this happens, interacting with the tabs or typing generates this error:
Traceback (most recent call last):
File "/home/lorien/svn/gajim/src/chat.py", line 552, in on_chat_notebook_switch_page
if self.widget_name == 'tabbed_chat_window':
KeyError: ''
In addition, when you close any of the tabs in the window, all but the original private message tab close. This happens even if you click on the x for the original private message tab.
Steps to reproduce:
-
Using the same account, open a window to message somebody.
-
Click on kermit. This should open another tab in the window you just opened.
-
Message kermit and close the window. Kermit should reply, showing a new tab with a * in it. This should also create a notification.
-
Click on the private message notification.
Expected Results: The kermit tab with an * should be focused
Actual Results: A new tab is created that says kermit without a *. Closing any tab now closes all tabs but the original tab which had a *.