changeset b1cad9794614 in /home/hg/repos/gajim

author: Yann Leboulanger <aste...@lagaule.org>
branches: gtk3
details:http://hg.gajim.org/gajim?cmd=changeset;node=b1cad9794614
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 0cbc7effb351 -r b1cad9794614 src/roster_window.py
--- a/src/roster_window.py      Sun Sep 08 21:58:54 2013 +0400
+++ b/src/roster_window.py      Mon Sep 09 17:22:53 2013 +0200
@@ -4845,7 +4845,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:
_______________________________________________
Commits mailing list
Commits@gajim.org
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to