changeset 6048f6d82da2 in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: gajim_0.16 details:http://hg.gajim.org/gajim?cmd=changeset;node=6048f6d82da2 description: show correct menuitem when no metacontact exist.
diffstat:
src/roster_window.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r ee5927e53dc8 -r 6048f6d82da2 src/roster_window.py --- a/src/roster_window.py Sun Sep 08 18:58:27 2013 +0200 +++ b/src/roster_window.py Mon Sep 09 17:22:53 2013 +0200 @@ -4828,7 +4828,7 @@ 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: