From 5a6030116e55563dd9295c154602427ddeb312e9 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 9 Sep 2013 17:22:53 +0200 Subject: [PATCH] show correct menuitem when no metacontact exist. --- src/roster_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index 14dccd875..b7801021a 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -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: