Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2013-09-09 19:22:53 +0400
committerYann Leboulanger <asterix@lagaule.org>2013-09-09 19:22:53 +0400
commit0df292620b663eaccef04612b1432fb5b7fb043f (patch)
tree26551a5b0f21203167004cab6b82f6ab376eac36 /src/roster_window.py
parentd270c45fff3610df503fa4ec636edc801bc036a6 (diff)
show correct menuitem when no metacontact exist.
Diffstat (limited to 'src/roster_window.py')
-rw-r--r--src/roster_window.py2
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: