From 07912779032c5a212677bc12acc6e0e25dff1668 Mon Sep 17 00:00:00 2001 From: Stefan Bethge Date: Wed, 27 Sep 2006 14:45:14 +0000 Subject: [PATCH] no drog'n'drop from local account to other accounts --- src/roster_window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/roster_window.py b/src/roster_window.py index 84e92a169..d2df47b8f 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -3625,6 +3625,8 @@ _('If "%s" accepts this request you will know his or her status.') % jid) return if type_dest == 'account' and account_source == account_dest: return + if account_source == gajim.ZEROCONF_ACC_NAME: + return it = iter_source while model[it][C_TYPE] == 'contact': it = model.iter_parent(it)