when we drop a contact on a group row, copy/move it to this group

This commit is contained in:
Yann Leboulanger 2006-02-05 11:30:17 +00:00
parent 8e423a96ca
commit e9765bc6d8
1 changed files with 7 additions and 0 deletions

View File

@ -2728,6 +2728,13 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
# Get destination group
if type_dest == 'group':
grp_dest = model[iter_dest][C_JID].decode('utf-8')
if context.action == gtk.gdk.ACTION_COPY:
self.on_drop_in_group(None, account, c_source, grp_dest, context,
etime)
return
self.on_drop_in_group(None, account, c_source, grp_dest, context,
etime)
return
else:
it = iter_dest
while model[it][C_TYPE] == 'contact':