diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2013-09-09 19:22:53 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2013-09-09 19:22:53 +0400 |
commit | 0df292620b663eaccef04612b1432fb5b7fb043f (patch) | |
tree | 26551a5b0f21203167004cab6b82f6ab376eac36 /src/roster_window.py | |
parent | d270c45fff3610df503fa4ec636edc801bc036a6 (diff) |
show correct menuitem when no metacontact exist.
Diffstat (limited to 'src/roster_window.py')
-rw-r--r-- | src/roster_window.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roster_window.py b/src/roster_window.py index 627f0c8e9..9a1d856bf 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -4845,7 +4845,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: |