prevent a TB

This commit is contained in:
Yann Leboulanger 2006-04-09 09:44:20 +00:00
parent 0793c64053
commit f16d8efb17
1 changed files with 4 additions and 2 deletions

View File

@ -1213,6 +1213,8 @@ class RosterWindow:
path = model.get_path(iter)
account = model[iter][C_ACCOUNT].decode('utf-8')
contact = gajim.contacts.get_contact_with_highest_priority(account, jid)
if not contact:
return
xml = gtk.glade.XML(GTKGUI_GLADE, 'roster_contact_context_menu',
APP)