show correct menuitem when no metacontact exist.

This commit is contained in:
Yann Leboulanger 2013-09-09 17:22:53 +02:00
parent 8fc8e73361
commit 5a6030116e
1 changed files with 1 additions and 1 deletions

View File

@ -4827,7 +4827,7 @@ class RosterWindow:
c_dest.jid)
source_family = gajim.contacts.get_metacontacts_family(
account_source, c_source.jid)
if dest_family == source_family:
if dest_family == source_family and dest_family:
item = gtk.MenuItem(_('Make %s first contact') % (
c_source.get_shown_name()))
else: