From ea623d7a3193ac05cf00ead1aad41664e22929d5 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 17 Jan 2005 09:08:48 +0000 Subject: [PATCH] bugfix : we can now drag and drop in the treeview to change a contact from a group to another --- plugins/gtkgui/gtkgui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py index 0ce70691a..85c941c0c 100644 --- a/plugins/gtkgui/gtkgui.py +++ b/plugins/gtkgui/gtkgui.py @@ -1840,7 +1840,7 @@ class roster_Window: grp_dest = model.get_value(iter_dest, 3) elif len(path_dest) == 3: grp_dest = model.get_value(model.iter_parent(iter_dest), 3) - if grp_source != grp_dest: + if grp_source == grp_dest: return for u in self.contacts[account][data]: u.groups.remove(grp_source)