when we drop a contact on a group row, copy/move it to this group
This commit is contained in:
parent
8e423a96ca
commit
e9765bc6d8
1 changed files with 7 additions and 0 deletions
|
@ -2728,6 +2728,13 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
|
||||||
# Get destination group
|
# Get destination group
|
||||||
if type_dest == 'group':
|
if type_dest == 'group':
|
||||||
grp_dest = model[iter_dest][C_JID].decode('utf-8')
|
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:
|
else:
|
||||||
it = iter_dest
|
it = iter_dest
|
||||||
while model[it][C_TYPE] == 'contact':
|
while model[it][C_TYPE] == 'contact':
|
||||||
|
|
Loading…
Add table
Reference in a new issue