Unable to open context menu for conversation tab, when single window mode used
Bug description
Unable to open context menu for conversation tab, when single window mode used (sorry for my bad english)
Steps to reproduce
Open Gajim In settings, select single window mode Go to any MUC Open new conversation in new tab with any MUC participant Right-click on this tab in tab line
Exception:
Traceback (most recent call last):
File "/usr/share/gajim/src/message_window.py", line 315, in on_tab_eventbox_button_press_event
self.popup_menu(event)
File "/usr/share/gajim/src/message_window.py", line 792, in popup_menu
menu = self.get_active_control().prepare_context_menu()
File "/usr/share/gajim/src/groupchat_control.py", line 280, in prepare_context_menu
is_anonymous=self.room_ctrl.is_anonymous)
File "/usr/share/gajim/src/gui_menu_builder.py", line 447, in get_contact_menu
if c_ and c_.supports(nbxmpp.NS_CONFERENCE):
NameError: global name 'nbxmpp' is not defined
Software versions
OS version:
orhideous@canterlot:~$ uname -a
Linux canterlot 3.11-2-amd64 #1 SMP Debian 3.11.10-1 (2013-12-04) x86_64 GNU/Linux
GTK version:
libgtk2-perl 2:1.248-1
libgtk2.0-0:amd64 2.24.22-1
libgtk2.0-0:i386 2.24.22-1
libgtk2.0-bin 2.24.22-1
libgtk2.0-cil 2.12.10-5
libgtk2.0-common 2.24.22-1
PyGTK version:
python-gtk2 2.24.0-3+b1